Index: trunk/extensions/VisualEditor/modules/parser/mediawiki.parser.environment.js |
— | — | @@ -280,7 +280,7 @@ |
281 | 281 | host = host.replace( /%(?![0-9a-fA-F][0-9a-fA-F])|[#|]/g, function ( m ) { |
282 | 282 | return encodeURIComponent( m ); |
283 | 283 | } ); |
284 | | - path = path.replace( /%(?![0-9a-fA-F][0-9a-fA-F])|[\[\]#|]/g, function ( m ) { |
| 284 | + path = path.replace( /%(?![0-9a-fA-F][0-9a-fA-F])|[ \[\]#|]/g, function ( m ) { |
285 | 285 | return encodeURIComponent( m ); |
286 | 286 | } ); |
287 | 287 | s = host + path; |