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

--- Comment #1 from Brion Vibber <br...@wikimedia.org> 2011-07-20 17:22:37 UTC 
---
I assume the link you're clicking is the https://office.wikimedia.org/ link...
I can confirm the behavior you're seeing in Firefox 5/Linux. :(

Hitting the "/" generic root page will end up sending a redirect to the
canonical location of the main page; sounds like either MediaWiki's incorrectly
serving out the HTTP redirect, or it's getting incorrectly cached.

Looks like I can repro with another redirection, using a non-canonical encoding
of the title:

https://office.wikimedia.org/wiki/Main%20Page

also gets redirected to:

http://office.wikimedia.org/wiki/Main_Page


HTTP response headers as seen in Firebug on a redir:

Server    nginx/0.7.65
Date    Wed, 20 Jul 2011 17:20:12 GMT
Content-Type    text/html; charset=utf-8
Connection    keep-alive
Cache-Control    s-maxage=1200, must-revalidate, max-age=0
Vary    Accept-Encoding,Cookie
X-Vary-Options   
Accept-Encoding;list-contains=gzip,Cookie;string-contains=officewikiToken;string-contains=officewikiLoggedOut;string-contains=officewiki_session
Last-Modified    Wed, 20 Jul 2011 17:18:54 GMT
Location    http://office.wikimedia.org/wiki/Main_Page
Content-Encoding    gzip
Content-Length    20
Age    78
X-Cache    HIT from sq62.wikimedia.org, MISS from sq40.wikimedia.org
X-Cache-Lookup    HIT from sq62.wikimedia.org:3128, MISS from
sq40.wikimedia.org:80
Via    1.1 sq62.wikimedia.org:3128 (squid/2.7.STABLE7), 1.0
sq40.wikimedia.org:80 (squid/2.7.STABLE7)

it looks like the redirect is built fresh, not just cached at least in this
case, but it's getting built out with the HTTP form. Either MediaWiki is
formatting the Location: URL as HTTP, or the proxies in front of it are
expanding it from protocol-relative and doing so as http.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to