Last modified: 2014-11-05 17:25:30 UTC
Hi folks, We just noticed the following: 1) in Safari/Mac 5.1.5, set your user-agent to Safari iOS 4.3.3/iPhonr 2) visit www.wikipedia.org/wiki/.is 3) it redirects to a broken URL — http://www.m.wikipedia.org/wiki/.is
Changing subject to reflect the real issue. This bug is not limited to Safari.
This is apparently the what happens when you access http://wikipedia.org/wiki/not_a_page as well. Maybe we could just take the redirect off of www.wikipedia.org and wikipedia.org.
(bump)
http://www.wikipedia.org/wiki/ works for me - directs me to http://en.wikipedia.org/wiki/Main_Page
I'm still seeing this issue: 1) using Safari/Mac 6.0.1 (8536.26.14), set User Agent to "Safari iOS 5.1 — iPhone" 2) paste `www.wikipedia.org/wiki/.is` into the URL bar and try to visit it 3) get redirected to `http://www.m.wikipedia.org/wiki/.is` with this error: "Safari can't open the page "http://www.m.wikipedia.org/wiki/.is" because Safari can't find the server "www.m.wikipedia.org"
The problem is that your redirect isn't adding a locale by default. For mobile user agents, www.wikipedia.org/wiki/.is redirects to www.m.wikipedia.org/wiki/.is (which doesn't work) instead of en.m.wikipedia.org/wiki/.is (which does work). As a workaround we'll hard-code `en.` in our app until this is fixed. -Eric
Simple command to reproduce it: wget -U "Safari iOS 4.3.3/iPhone" http://www.wikipedia.org/wiki/.is
I've been able to reproduce this with an Android device as well as iOS devices.
This is now fixed. https://www.m.wikipedia.org/wiki/.is redirects to https://en.m.wikipedia.org/wiki/.is Gerrit change #132623