Last modified: 2014-04-28 19:57:49 UTC
With preferhttps option enabled by logged in users http://de.wikipedia.org/wiki/Spezial:Weblinksuche/http://wikimedia.org gets redirected to https://de.wikipedia.org/wiki/Spezial:Weblinksuche/https://wikimedia.org instead of https://de.wikipedia.org/wiki/Spezial:Weblinksuche/http://wikimedia.org The protocol part of the search url argument must not be rewritten.
str_replace replaced all instead of the first one. A regex replace with ^ at the begin would help here. Wiki.php around line 537 $redirUrl = str_replace( 'http://', 'https://', $oldUrl );
Change 129925 had a related patch set uploaded by Umherirrender: http -> https rewrite: Only replace one http by https https://gerrit.wikimedia.org/r/129925
Change 129925 merged by jenkins-bot: http -> https rewrite: Only replace one http by https https://gerrit.wikimedia.org/r/129925
successfully merged