* (bug 7766) Remove redundant / from AJAX requests, can break some servers
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 31 Oct 2006 13:27:57 +0000 (13:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 31 Oct 2006 13:27:57 +0000 (13:27 +0000)
RELEASE-NOTES
includes/DefaultSettings.php
skins/common/ajax.js

index af2ff62..19355f4 100644 (file)
@@ -110,6 +110,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   styling (class="mw-templatesUsedExplanation").
 * Added {{#special:}} parser function, to give the local default title for 
   special pages
+* (bug 7766) Remove redundant / from AJAX requests, can break some servers
+
 
 == Languages updated ==
 
index 97bf331..000344f 100644 (file)
@@ -1037,7 +1037,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '22';
+$wgStyleVersion = '23';
 
 # Server-side caching:
 
index 6cc652b..ebc4fd6 100644 (file)
@@ -75,7 +75,7 @@ function sajax_do_call(func_name, args, target) {
        var i, x, n;
        var uri;
        var post_data;
-       uri = wgServer + "/" + wgScriptPath + "/index.php?action=ajax";
+       uri = wgServer + wgScriptPath + "/index.php?action=ajax";
        if (sajax_request_type == "GET") {
                if (uri.indexOf("?") == -1)
                        uri = uri + "?rs=" + encodeURIComponent(func_name);