[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libidn2 support
From: |
Tim Ruehsen |
Subject: |
Re: libidn2 support |
Date: |
Thu, 01 Dec 2016 15:44:50 +0100 |
User-agent: |
KMail/5.2.3 (Linux/4.8.0-1-amd64; KDE/5.28.0; x86_64; ; ) |
Hi Simon,
thanks for your offer !
I would be happy to push my changes.
There is still time to test/discuss until the next release, I guess.
Are you ok, if I push to master or would you like to have a separate branch ?
My name on Gitlab (and elsewhere) is rockdaboot.
Regards, Tim
On Thursday, December 1, 2016 2:39:55 PM CET Simon Josefsson wrote:
> Hi Tim. Thanks, this is really cool. Do you want commit access to
> libidn2 so you can push this? What's your gitlab username? I have
> limited time and don't want to be in your way for this to happen. I'm
> happy to do review, but can't promise when.
>
> /Simon
>
> tis 2016-11-29 klockan 22:23 +0100 skrev Tim Rühsen:
> > On Mittwoch, 2. November 2016 10:04:19 CET Daniel Stenberg wrote:
> > > On Wed, 2 Nov 2016, Simon Josefsson wrote:
> > > > Switching from IDNA2003 to IDNA2008 requires thought. They are not
> > > > compatible, and IDNA2008 requires pre-processing (e.g., UTS #46 [1])
> > > > to
> > > > be usable in practice. Libidn2 does not implement any pre-processing,
> > > > it is a pure IDNA2008 implementation.
> > > >
> > > > [1] http://www.unicode.org/reports/tr46/
> > >
> > > Thanks for this Simon. I wasn't aware.
> > >
> > > Based on this, I suppose my recommendation is that people simply switch
> > > off
> > > IDN support in curl builds until further notice to stay safe. The old
> > > way
> > > was open for trickery and the new way is incomplete.
> >
> > Please review and comment https://gitlab.com/rockdaboot/libidn2/tree/tr46
> > (It works for me ).
> >
> > I would like to open a pull request to libidn2 soon.
> > That code will be useful for any DNS clients resolving IDNs.
> >
> > From my mail to help-libidn mailing list:
> >
> > The code introduces new flags for the lookup functions IDN2_TRANSITIONAL
> > and IDN2_NONTRANSITIONAL (mutual exclusive).
> >
> > IDN2_TRANSITIONAL enables the TR46 transitional process.
> > IDN2_NONTRANSITIONAL enables the TR46 non-transitional process.
> >
> > Corresponding, the 'idn2' utility now has -T/--tr46t to enable
> > transitional
> > lookup and -N/--tr46nt to enable non-transitional lookup.
> >
> > Example:
> > $ src/idn2 -T faß.de
> > fass.de
> >
> > $ src/idn2 -N faß.de
> > xn--fa-hia.de
> >
> > To show the TR46 mapping (upper->lowercase) in work:
> > $ src/idn2 Faß.de
> > idn2: lookup: string contains a disallowed character
> >
> > $ src/idn2 -T Faß.de
> > fass.de
> >
> > $ src/idn2 -N Faß.de
> > xn--fa-hia.de
> >
> > Regards, Tim
signature.asc
Description: This is a digitally signed message part.
- Re: libidn2 support, Simon Josefsson, 2016/12/01
- Re: libidn2 support,
Tim Ruehsen <=
- Re: libidn2 support, Simon Josefsson, 2016/12/05
- Re: libidn2 support, Tim Ruehsen, 2016/12/06
- Re: libidn2 support, Simon Josefsson, 2016/12/07
- Re: libidn2 support, Tim Ruehsen, 2016/12/07
- Re: libidn2 support, Tim Ruehsen, 2016/12/07
- Re: libidn2 support, Tim Ruehsen, 2016/12/08
- Re: libidn2 support, Simon Josefsson, 2016/12/26
- Re: libidn2 support, Tim Ruehsen, 2016/12/09