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

Normalize URLs #11

Open
osteele opened this issue Feb 28, 2018 · 0 comments
Open

Normalize URLs #11

osteele opened this issue Feb 28, 2018 · 0 comments

Comments

@osteele
Copy link

osteele commented Feb 28, 2018

For example, entries for HTTP://www.Example.com/ and http://www.example.com/ , http://www.example.com/%7Eusername/ and http://www.example.com/~username/, http://www.example.com:80/bar.html and http://www.example.com/bar.html, HTTP://xn--xample-hva.com:80/ and http://êxample.com/ , should be de-duped.

See https://en.wikipedia.org/wiki/URL_normalization

Should "Normalizations that usually preserve semantics", e.g. http://www.example.com/alice and http://www.example.com/alice/, be de-duped? You could HEAD them and see if one redirects (at least permanently; also temporarily?) to the other.

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