Community
Participate
Working Groups
We use the nightly RAP repository to build our nightly build. After deploying the Application to a Tomcat 6 or 7 the application is not accessible via Chrome and Firefox (it works with IE). The error was added in the last days after 1.5 M1 because with the M1 build this does not happen. I will attach a screenshot that displays the error. * Tested with Windows7,OS X Lion on Tomcat 6 and 7.
Created attachment 201994 [details] Error screenshot
I can reproduce it with deployed Controls Demo in Tomcat. The error is in the new javascript file EncodingUtil.js. Continue with the investigation.
Reproducible without deployment with Client-Side Library Variant set to "Standard".
The problem is in the special characters \u2028 and \u2029 defined as a keys in the _escapeMap. I think that they should be escaped on the server not on the client, because they lead to an error in the JSON protocol message too. Probably truncateAtZero should be done on the server as well.
Fixed in CVS HEAD by creating the string with the problematic characters on runtime using String.fromCharCode. For the issue of the the characters breaking the json-message we will open a new bug.