https://bugzilla.wikimedia.org/show_bug.cgi?id=30441

Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |need-unittest

--- Comment #3 from Brion Vibber <[email protected]> 2011-08-23 20:12:07 UTC 
---
This should be fixable simply by throwing a .replace('+', '%20') into
getParamValue() in mediawiki.util.js before the decodeURIComponent.


Per spec, encodeURIComponent/decodeURIComponent work with the %20 form -- which
is what's always used in URI path components -- so if you want to handle '+'s
(traditionally used in query string form encoding) you have to do that as an
additional step.

https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeURIComponent

http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to