arturobernalg commented on code in PR #571:
URL:
https://github.com/apache/httpcomponents-core/pull/571#discussion_r2422971017
##########
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 should be fine now
--
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]