[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508112#comment-17508112
 ] 

asuka amamiya edited comment on HTTPCLIENT-2185 at 3/17/22, 10:25 AM:
----------------------------------------------------------------------

Hi, i want support this, do you give me same url?

I need test that


was (Author: JIRAUSER286678):
Hi, i want support this, do you give me same url.

I need test that

> Add support for IDNA 2008 (RFC 5891)
> ------------------------------------
>
>                 Key: HTTPCLIENT-2185
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2185
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Android Port, HttpClient (async), HttpClient (classic), 
> HttpClient (Windows)
>    Affects Versions: 5.0
>         Environment: Android SDK 30
>            Reporter: Julien Bernard
>            Priority: Minor
>              Labels: stuck, volunteers-wanted
>             Fix For: Stuck
>
>
> The tests have been conducted with Kotlin on Android SDK 30 with Apache 
> HttpClient Android extensions which ships with HttpClient version 5.0.1 but 
> any HttpClient component on any platform may be impacted.
> Before making an HTTP query the client should convert the URL domain to 
> A-label as described in [RFC 
> 5891|https://datatracker.ietf.org/doc/html/rfc5891].
> Here is an example with the trustworthy ICU4J library:
>  
> {code:java}
> int flags = IDNA.CHECK_BIDI
>        | IDNA.CHECK_CONTEXTJ
>        | IDNA.CHECK_CONTEXTO
>        |  IDNA.NONTRANSITIONAL_TO_ASCII
>        | IDNA.USE_STD3_RULES;
> IDNA idna = IDNA.getUTS46Instance(flags);
> IDNA.Info info = new IDNA.Info();
> String domainAscii = idna.nameToASCII(domain, new StringBuilder(), info);
> // check error with info.hasErrors() {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to