[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-dev] URLs with IDN domains in jetty-client doesn't work
|
Hi,
On Tue, Dec 13, 2016 at 4:26 PM, Konstantin Gribov <grossws@xxxxxxxxx> wrote:
> I thought to just throw an exception and do it early (from `newRequest`).
> Another justification to this is that `newRequest`'s parameter is called uri
> and RFC 3986 for URI says that only part of ascii and percent-encoded can be
> used there.
>
> We have a workaround in our code to support IDNs but it could be unreliable
> because it use `j.n.URL` to parse original url string and builds URI back
> from it.
> It also could stop working with IDNs since it isn't obligated to work with
> them at all.
>
> I think, normal IDN support would be a huge task since it should affect not
> only creating requests but things like correct redirect and cookies handling
> at least.
I agree.
Please file an issue to track this, and then - if you want - also a
pull request.
Thanks !
--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.