Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method was proposed by @Serayen.
|
|
|
|
|
|
|
|
|
|
* Use more expressive errors, especially in address parsing.
* Use match in some cases where we were using if/else.
* Split IPv6 address parsing tests up between good/base cases.
|
|
|
|
It's not possible to have encountered a double-colon
when in the COLON_BUT_NO_GROUPS_YET state.
|
|
AFTER_COLON_EXPECT_GROUP_OR_IPV4 -> AFTER_DOUBLE_COLON
|
|
|
|
Fix bug where an IPv6 address ending in a double-colon was
not considered valid (it was being considered as truncated).
|
|
Fix bug where IPv6 address ending in a group with only digits
followed by a double-colon would not get parsed correctly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thank you to @ya-ming for pointing this out!
|
|
|
|
|
|
|
|
Copying query or fragment needs to copy the "hasQuery" and
"hasFragment" flags.
Comparing URIs should make use of "hasQuery" and "hasFragment" to
properly compare URIs that might not have query and/or fragment parts.
|
|
|
|
Can't treat characters using "char" type because it's signed.
|
|
|
|
|
|
|
|
|
|
|
|
|