← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1387: Included % in html encoding

 

------------------------------------------------------------
revno: 1387
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-02-03 12:08:38 +0100
message:
  Included % in html encoding
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/commons.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/commons.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/commons.js	2010-02-01 20:21:20 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/commons.js	2010-02-03 11:08:38 +0000
@@ -249,6 +249,7 @@
     str = str.replace( /\"/g, "%22" );
     str = str.replace( /\#/g, "%23" );
     str = str.replace( /\$/g, "%24" );
+    str = str.replace( /\%/g, "%25" );
     str = str.replace( /\&/g, "%26" );
     str = str.replace( /\'/g, "%27" );
     str = str.replace( /\(/g, "%28" );