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

broken API redirects #31

Open
glyph opened this issue Aug 20, 2023 · 1 comment
Open

broken API redirects #31

glyph opened this issue Aug 20, 2023 · 1 comment

Comments

@glyph
Copy link
Member

glyph commented Aug 20, 2023

When I copy "online URLs" out of Dash, I get URLs in this format:

https://twistedmatrix.com/documents/22.10.0/api/twisted.application.internet.ClientService.html

This should redirect me to https://docs.twisted.org/en/twisted-22.10.0/api/twisted.application.internet.ClientService.html but instead I get bounced through a page that says "404", but does a JS redirect back to the front page of the docs.

I see the JS redirect has a hard-coded to match /documents/current/ and we could probably match a version number in there too.

@glyph
Copy link
Member Author

glyph commented Aug 20, 2023

(There's also probably a change that should happen on Dash's end here, but given that there are probably a zillion links in this format out there, it would be nice to get it right.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant