Title: Documentation with two slashes in URL links to v2.6.5c2
Type: Stage:
Components: Documentation Versions: Python 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Daniel.Ellis, akuchling, benjamin.peterson, docs@python, ezio.melotti, georg.brandl
Priority: normal Keywords:

Created on 2014-02-12 14:55 by Daniel.Ellis, last changed 2014-02-15 20:35 by benjamin.peterson. This issue is now closed.

Messages (3)
msg211094 - (view) Author: Daniel Ellis (Daniel.Ellis) Date: 2014-02-12 14:55
I was searching for the documentation for itertools via Google and was sent here:

After glancing at the upper-left hand corner, I wondered why Google was sending people to the 2.6 documentation, and a release candidate at that.  After checking out the URL, it became obvious that there's an issue somewhere in the Python docs that is causing this.

Quite a bizarre and obscure bug, but probably should be fixed since a major search engine is passing front-page search traffic there.
msg211288 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2014-02-15 19:23
To clarify: returns the corresponding page from the 2.6.5c2 docs, while returns a 301 redirect to  

Presumably there's a RewriteRule that fails to match with the doubled-slashes, so Apache falls through to the filesystem.  Maybe there's an old 'current' symlink that's pointing at 2.6.5c2.
msg211291 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2014-02-15 20:35
I zapped the 2.6.c2 docs. I don't particularly feel like messing with mod_rewrite horrors on to fix it to redirect properly. I think we should drop redirects those soon anyway. Probably will happen with the new site...
Date User Action Args
2014-02-15 20:35:23benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg211291

resolution: fixed
2014-02-15 19:23:15akuchlingsetnosy: + akuchling
messages: + msg211288
2014-02-15 16:10:08ezio.melottisetnosy: + ezio.melotti
2014-02-12 19:38:17berker.peksagsetnosy: + georg.brandl
2014-02-12 14:55:47Daniel.Elliscreate