Closed GoogleCodeExporter closed 8 years ago
Bug reproduced.
Will look into it.
Original comment by mcyr...@gmail.com
on 24 Sep 2012 at 1:36
Reason for this behavior is that we do a urlDecode in sessionwebjquery-20.js.
To have temporary workaround replace the URLDecode function in the
js/sessionwebjquery-20.js. file with
URLDecode:function (s) {
/*
var o = s;
var binVal, t;
var r = /(%[^%]{2})/;
while ((m = r.exec(o)) != null && m.length > 1 && m[1] != '') {
b = parseInt(m[1].substr(1), 16);
t = String.fromCharCode(b);
o = o.replace(m[1], t);
}
return o;
*/
}
This will however break the possibility to use XML syntax in the notes since
they need to be escaped due to chkeditor limitations...
Original comment by mcyr...@gmail.com
on 24 Sep 2012 at 3:26
This will be fixed in the next version of edit session page.
Original comment by mcyr...@gmail.com
on 24 Sep 2012 at 8:29
Excellent. Thanks for the quick fix, and for the temporary work-around!
Original comment by ben.fari...@vmturbo.com
on 24 Sep 2012 at 8:32
Quick question though. For the temporary fix, should the end comment (*/) be
placed BEFORE the return 0; line? Or is the output of URLDecode() never
actually used so it doesn't matter?
Original comment by ben.fari...@vmturbo.com
on 24 Sep 2012 at 8:35
Correct version..
URLDecode:function (s) {
/*
var o = s;
var binVal, t;
var r = /(%[^%]{2})/;
while ((m = r.exec(o)) != null && m.length > 1 && m[1] != '') {
b = parseInt(m[1].substr(1), 16);
t = String.fromCharCode(b);
o = o.replace(m[1], t);
}
return o;
*/
return s;
}
Original comment by mcyr...@gmail.com
on 25 Sep 2012 at 7:13
This bug is corrected in the new editor page.
Original comment by mcyr...@gmail.com
on 22 Apr 2013 at 7:04
Original issue reported on code.google.com by
ben.fari...@vmturbo.com
on 24 Sep 2012 at 1:31