r75502 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75501‎ | r75502 | r75503 >
Date:02:53, 27 October 2010
Author:hartman
Status:deferred
Tags:
Comment:
And another case of missing encodeURI
Modified paths:
  • /branches/MwEmbedStandAlone/modules/Sequencer/mw.SequencerServer.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/Sequencer/mw.SequencerServer.js
@@ -378,7 +378,7 @@
379379 if( !this.pagePathUrl ){
380380 return false;
381381 }
382 - return this.pagePathUrl.replace( '$1', 'Sequence:' + titleKey);
 382+ return this.pagePathUrl.replace( '$1', 'Sequence:' + encodeURI( titleKey ));
383383 },
384384
385385 getAssetViewUrl: function( titleKey ){

Status & tagging log