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
IPv6 host normalization. #1560
Comments
@jeremyevans said:
To me, Additionally, a
That being said, you can't feed such a value to
On https://bugs.ruby-lang.org/issues/14016 it states:
So, maybe we should adopt this model. |
@AlexWayfer do you have any opinion on this? |
To be honest, no, because as I wrote in #1538:
I'm not familiar with IPv6 standards and formats. |
I want to follow the same naming conventions as |
You always can publish draft PR and we can try to help you with them. |
My goal is to use the following terminology:
|
Does "delimeters" mean square parentheses? I wanted a helper method for host without port or with it (as it in headers) in #1435, and we've chose |
@AlexWayfer Yeah delimiters means square parentheses. Yeah, agreed we need some better accessors.
|
I've reworked the PR, so that the first commit is the failing specs. |
I see now specs are passing. 🎉 |
I reviewed the PR #1213 and it looks like we recently merged #1538 which prefered the non-square-brackets representation. However, this has not been released yet. So we could adjust it.
Based on the defintion of
URI#host
, I think we should probably prefer the square brackets representation... but I'm not sure what is canonical. I need to do some research.Originally posted by @ioquatix in #1213 (comment)
The text was updated successfully, but these errors were encountered: