https://bugzilla.wikimedia.org/show_bug.cgi?id=30792

--- Comment #1 from Tim Starling <[email protected]> 2011-09-07 02:59:59 
UTC ---
Index: SquidUpdate.php
===================================================================
--- SquidUpdate.php    (revision 96381)
+++ SquidUpdate.php    (working copy)
@@ -208,11 +208,15 @@
      * @return string
      */
     static function expand( $url ) {
+        ### WMF EMERGENCY PATCH FOR BUG 30792 -- TS
+        return wfExpandUrl( $url, PROTO_HTTP );
+        /*
         global $wgInternalServer, $wgServer;
         $server = $wgInternalServer !== false ? $wgInternalServer : $wgServer;
         if( $url !== '' && $url[0] == '/' ) {
             return $server . $url;
         }
         return $url;
+         */
     }
 }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to