Same problem on Ubuntu 11.04
Tried the patch and got that:

root@solipym:~# patch < js+escaping.diff
(Stripping trailing CRs from patch.)
patching file WebServerResources/JavascriptAPIExtensions.js
Hunk #1 FAILED at 71.
1 out of 1 hunk FAILED -- saving rejects to file WebServerResources/JavascriptAPIExtensions.js.rej

Must be doing something wrong. Reject file attached.

Dominique

On 13/02/2012 20:49, Wolfgang Sourdeau wrote:
Hi guys,


Please try again with the attached patch. It does not require a reload of SOGo but make sure you refresh your browser cache after applying it.


Wolfgang

--
[email protected]
https://inverse.ca/sogo/lists
--- JavascriptAPIExtensions.js  6b23612fcaba7a9546455eddfd1470f082d3484a
+++ JavascriptAPIExtensions.js  8436beb46e3bba9f4f9be171c9f15caa8064bfc3
@@ -71,7 +71,7 @@
 
 String.prototype.asCSSIdentifier = function() {
     var characters = [ '_'  , '\\.', '#'  , '@'  , '\\*', ':'  , ','   , ' '
-                       , "'", '&', '+' ];
+                       , "'", '&', '\\+' ];
     var escapeds =   [ '_U_', '_D_', '_H_', '_A_', '_S_', '_C_', '_CO_',
                        '_SP_', '_SQ_', '_AM_', '_P_' ];
 

Reply via email to