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

Ignore trailing dot #148

Open
bradfitz opened this issue Oct 31, 2024 · 2 comments
Open

Ignore trailing dot #148

bradfitz opened this issue Oct 31, 2024 · 2 comments

Comments

@bradfitz
Copy link
Member

I went to http://go/foo. and got a 404. But http://go/foo works.

On 404, try to trim the trailing dot and try that? For people copy/pasting links with a trailing period in a sentence.

/cc @willnorris

@bradfitz bradfitz changed the title Ignore tailing dot Ignore trailing dot Oct 31, 2024
@willnorris
Copy link
Member

willnorris commented Oct 31, 2024

Probably all punctuation characters. I can imagine ) and , being pretty common

@parkr
Copy link

parkr commented Nov 1, 2024

It's probably handled by extracting the path only but header links like go/foo#my-heading-(parenthetical) would break if punctuation is removed from the full URL without first extracting the path.

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

3 participants