Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -233,6 +233,7 @@ |
234 | 234 | a null edit. |
235 | 235 | * (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who made |
236 | 236 | the edit. |
| 237 | +* (bug 33902) Decoding %2B with mw.Uri.decode results in ' ' instead of + |
237 | 238 | |
238 | 239 | === API changes in 1.19 === |
239 | 240 | * Made action=edit less likely to return "unknownerror", by returning the actual error |
Index: trunk/phase3/resources/mediawiki/mediawiki.Uri.js |
— | — | @@ -160,7 +160,7 @@ |
161 | 161 | * @return {String} decoded string |
162 | 162 | */ |
163 | 163 | Uri.decode = function( s ) { |
164 | | - return decodeURIComponent( s ).replace( /\+/g, ' ' ); |
| 164 | + return decodeURIComponent( s.replace( /\+/g, '%20' ) ); |
165 | 165 | }; |
166 | 166 | |
167 | 167 | Uri.prototype = { |