Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation with two slashes in URL links to v2.6.5c2 #64809

Closed
DanielEllis mannequin opened this issue Feb 12, 2014 · 3 comments
Closed

Documentation with two slashes in URL links to v2.6.5c2 #64809

DanielEllis mannequin opened this issue Feb 12, 2014 · 3 comments
Labels
docs Documentation in the Doc dir

Comments

@DanielEllis
Copy link
Mannequin

DanielEllis mannequin commented Feb 12, 2014

BPO 20610
Nosy @akuchling, @birkenfeld, @benjaminp, @ezio-melotti

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-02-15.20:35:23.605>
created_at = <Date 2014-02-12.14:55:47.628>
labels = ['docs']
title = 'Documentation with two slashes in URL links to v2.6.5c2'
updated_at = <Date 2014-02-15.20:35:23.584>
user = 'https://bugs.python.org/DanielEllis'

bugs.python.org fields:

activity = <Date 2014-02-15.20:35:23.584>
actor = 'benjamin.peterson'
assignee = 'docs@python'
closed = True
closed_date = <Date 2014-02-15.20:35:23.605>
closer = 'benjamin.peterson'
components = ['Documentation']
creation = <Date 2014-02-12.14:55:47.628>
creator = 'Daniel.Ellis'
dependencies = []
files = []
hgrepos = []
issue_num = 20610
keywords = []
message_count = 3.0
messages = ['211094', '211288', '211291']
nosy_count = 6.0
nosy_names = ['akuchling', 'georg.brandl', 'benjamin.peterson', 'ezio.melotti', 'docs@python', 'Daniel.Ellis']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue20610'
versions = ['Python 2.7']

@DanielEllis
Copy link
Mannequin Author

DanielEllis mannequin commented Feb 12, 2014

I was searching for the documentation for itertools via Google and was sent here:

http://www.python.org/doc//current/library/itertools.html

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.

@DanielEllis DanielEllis mannequin assigned docspython Feb 12, 2014
@DanielEllis DanielEllis mannequin added the docs Documentation in the Doc dir label Feb 12, 2014
@akuchling
Copy link
Member

To clarify: http://www.python.org/doc//current/library/itertools.html returns the corresponding page from the 2.6.5c2 docs, while http://www.python.org/doc/current/library/itertools.html returns a 301 redirect to http://docs.python.org/library/itertools.html.

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.

@benjaminp
Copy link
Contributor

I zapped the 2.6.c2 docs. I don't particularly feel like messing with mod_rewrite horrors on python.org to fix it to redirect properly. I think we should drop redirects those soon anyway. Probably will happen with the new site...

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants