-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
URI normalization #1459
Comments
Does the term "canonicalization" have a formal definition? Or simply disallowing |
The term should be pretty unambiguous, right? The idea of a canonical form of some expression is pretty well understood. It IS frustrating that someone who's just innocently trying to read the spec, and plugs that phrase into a search bar, will see those SEO-related hits on top... which yeah are mostly a red herring in this context. |
Yeah, I think the concept of a canonical URI is unambiguous, but from an implementation perspective I'm hoping we can either point to a definition or enumerate the possible non-canonical edge cases and how to solve them.
the node.js |
The point 4 looks unnecessary to me. |
I don't especially think we should require (4) in the spec, but it's certainly necessary if you want caching to work. Looks like I got (3) wrong. |
The term normalization for comparison purposes is explained in this 2005 RFC: https://tools.ietf.org/html/rfc3986#page-38 Indeed, MS references this RFC in https://msdn.microsoft.com/en-us/library/dd541267.aspx in addition to RFC2616 section 3.2.3 ( http://www.rfc-editor.org/rfc/rfc2616.txt ) which only talks about character to character comparisons. |
@lexaknyazev do you still plan to add the implementation note linking to IETF? |
Yes, will open a PR soon. |
@lexaknyazev any update on the PR? 😄 |
@lexaknyazev any update? |
From the other discussion:
Possible action items:
/cc @donmccurdy @bghgary @emackey
The text was updated successfully, but these errors were encountered: