arturobernalg commented on code in PR #571:
URL: 
https://github.com/apache/httpcomponents-core/pull/571#discussion_r2422764257


##########
httpcore5/src/main/java/org/apache/hc/core5/net/URIAuthority.java:
##########
@@ -62,26 +72,109 @@ static URIAuthority parse(final CharSequence s, final 
Tokenizer.Cursor cursor) t
                 userInfo = token;
             }
         } else {
-            //Rewind
             cursor.updatePos(initPos);
         }
+
+        if (!cursor.atEnd() && s.charAt(cursor.getPos()) == '[') {

Review Comment:
   @ok2c No IPv6 parsing—just bracket check + RFC 6874 zone encode/decode in 
one tiny helper; minimal surface, CONNECT untouched.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to