https://bugzilla.wikimedia.org/show_bug.cgi?id=54357
--- Comment #2 from Sam Reed (reedy) <[email protected]> --- I've tidied up the file and removed some of the ancient unused code paths The problem code is in this area: if( preg_match( "|(%2f)|i", $loc, $matches ) || preg_match( "|^/upload/(.*)|i",$loc, $matches ) || preg_match("|^/style/(.*)|i",$loc, $matches ) || preg_match( "|^/wiki/(.*)|i",$loc, $matches ) || preg_match("|^/w/(.*)|i",$loc, $matches ) || preg_match( "|^/extensions/(.*)|i",$loc, $matches ) ) { $title = htmlspecialchars( $matches[1] ); $details = "<p style=\"font-weight: bold;\">To check for \"$title\" on Wikipedia, see: <a href=\"//en.wikipedia.org/wiki/$title\" title=\"Wikipedia:$title\"> //en.wikipedia.org/wiki/$title</a></p>"; } else { $target = $prot . $serv . "/wiki" . $loc; $encTarget = htmlspecialchars( $target ); header( "Refresh: 5; url=$encTarget" ); $details="<p><b>Did you mean to type <a href=$encTarget>$encTarget</a>?</b> You will be automatically redirected there in five seconds.</p>"; } -- 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
