Index: trunk/extensions/CentralNotice/SpecialBannerController.php |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | var geoLocation = Geo.country; // pull the geo info |
71 | 71 | } |
72 | 72 | var bannerListQuery = $.param( { 'language': wgContentLanguage, 'project': wgNoticeProject, 'country': geoLocation } ); |
73 | | - var bannerListURL = wgScript + '?title=' + wgFormattedNamespaces[-1] + ':BannerListLoader&cache=/cn.js' + bannerListQuery; |
| 73 | + var bannerListURL = wgScript + '?title=' + encodeURIComponent(wgFormattedNamespaces[-1]) + ':BannerListLoader&cache=/cn.js&' + bannerListQuery; |
74 | 74 | var request = $.ajax( { |
75 | 75 | url: bannerListURL, |
76 | 76 | dataType: 'json', |