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

🐛 FIX: Redirect of filenames containing dots #45

Merged
merged 2 commits into from
Apr 16, 2021

Conversation

chrisjsewell
Copy link
Contributor

The use of Path.with_suffix (twice) incorrectly truncates file names,
e.g. a.b.c.rst -> a.b.html.
This fix only strips the known source suffixes, then appends .html.

The use of `Path.with_suffix` (twice) incorrectly truncates file names,
e.g. `a.b.c.rst` -> `a.b.html`.
This fix only strips the known source suffixes, then appends `.html`.
Copy link
Member

@TheTripleV TheTripleV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding this bug!

sphinxext/rediraffe.py Show resolved Hide resolved
@TheTripleV TheTripleV added the bug Something isn't working label Apr 16, 2021
@TheTripleV TheTripleV changed the title 🐛 FIX: Redirect of filenames containg dots 🐛 FIX: Redirect of filenames containing dots Apr 16, 2021
@TheTripleV TheTripleV merged commit 09516f0 into wpilibsuite:main Apr 16, 2021
@chrisjsewell
Copy link
Contributor Author

thanks for the quick response @TheTripleV! If you could get it out in a release, that would be great 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants