arturobernalg opened a new pull request, #394:
URL: https://github.com/apache/httpcomponents-core/pull/394

   Improve IDN support in URI parsing by converting non-ASCII characters to 
their ASCII-compatible form using the java.net.IDN class. This allows for 
better interoperability with systems that may not support Unicode characters in 
domain names. The change was made by adding a conditional statement that checks 
if the hostname contains non-ASCII characters, and if so, applies the IDN 
conversion. The existing code uses the Apache Tomcat URI parsing implementation 
for compatibility and consistency with Tomcat's behavior. This change should 
have no impact on ASCII-only hostnames.


-- 
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: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to