Discussion:
[Mutt] #3518: IDNA2008 support by libidn2 usage in mutt
Mutt
2011-05-22 12:23:15 UTC
Permalink
#3518: IDNA2008 support by libidn2 usage in mutt
-------------------------+--------------------------------------------------
Reporter: rsc | Owner: mutt-dev
Type: enhancement | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Keywords: |
-------------------------+--------------------------------------------------
At the moment, mutt only has IDNA2003 support by GNU libidn. As IDNA2003
was updated, changed and revised by IDNA2008, there's now GNU libidn2.
Unfortunately IDNA2003 and IDN2008 are very different, thus the new
library is also very different. Nevertheless I would like to see IDNA2008
support in mutt.

As it is hard (and makes less to no sense) to support IDNA2003 and
IDNA2008 in parallel, I would recommend to replace IDNA2003 by IDNA2008
support, which means that the requirement in the end switches over from
libidn to libidn2 simply.

GNU libidn2 upstream is http://www.gnu.org/s/libidn/#libidn2, the latest
version at the moment is 0.5.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3518>
Mutt <http://www.mutt.org/>
The Mutt mail user agent
Matthias Andree
2011-05-22 12:37:58 UTC
Permalink
Objection: I think it would be premature to bet mutt's features and port
nontrivial amounts of code on some 0.X pre-release of some library --
where the latest release announcement (BTW, 0.4) mentions "Please test
whether Libidn2 solves your IDNA2008 needs!".

Feel free to ask again once libidn2 is stable.
--
Matthias Andree
Mutt
2011-06-20 23:56:31 UTC
Permalink
#3518: IDNA2008 support by libidn2 usage in mutt
-------------------------+--------------------------------------------------
Reporter: rsc | Owner: mutt-dev
Type: enhancement | Status: new
Priority: major | Milestone: 2.0
Component: mutt | Version:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by me):

* milestone: => 2.0
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3518#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent
Mutt
2018-02-20 08:49:38 UTC
Permalink
#3518: IDNA2008 support by libidn2 usage in mutt
--------------------------+----------------------
Reporter: rsc | Owner: mutt-dev
Type: enhancement | Status: new
Priority: major | Milestone: 2.0
Component: mutt | Version:
Resolution: | Keywords:
--------------------------+----------------------

Comment (by mmuzila):

Hi,

I would like to ask what is the current status of libidn2 support in Mutt.

I've already created a patch <1> that makes mutt to use libidn2 instead of
libidn.


<1>
https://gitlab.com/mmuzila/mutt/commit/b53167669ff46f65d39f801130a53b4387b37125

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3518#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent
Mutt
2018-02-27 01:56:28 UTC
Permalink
#3518: IDNA2008 support by libidn2 usage in mutt
--------------------------+----------------------
Reporter: rsc | Owner: mutt-dev
Type: enhancement | Status: new
Priority: major | Milestone: 2.0
Component: mutt | Version:
Resolution: | Keywords:
--------------------------+----------------------
Post by Mutt
At the moment, mutt only has IDNA2003 support by GNU libidn. As IDNA2003
was updated, changed and revised by IDNA2008, there's now GNU libidn2.
Unfortunately IDNA2003 and IDN2008 are very different, thus the new
library is also very different. Nevertheless I would like to see IDNA2008
support in mutt.
As it is hard (and makes less to no sense) to support IDNA2003 and
IDNA2008 in parallel, I would recommend to replace IDNA2003 by IDNA2008
support, which means that the requirement in the end switches over from
libidn to libidn2 simply.
GNU libidn2 upstream is http://www.gnu.org/s/libidn/#libidn2, the latest
version at the moment is 0.5.
New description:

At the moment, mutt only has IDNA2003 support by GNU libidn. As IDNA2003
was updated, changed and revised by IDNA2008, there's now GNU libidn2.
Unfortunately IDNA2003 and IDN2008 are very different, thus the new
library is also very different. Nevertheless I would like to see IDNA2008
support in mutt.

As it is hard (and makes less to no sense) to support IDNA2003 and
IDNA2008 in parallel, I would recommend to replace IDNA2003 by IDNA2008
support, which means that the requirement in the end switches over from
libidn to libidn2 simply.

GNU libidn2 upstream is http://www.gnu.org/s/libidn/#libidn2, the latest
version at the moment is 0.5.

--

Comment (by kevin8t8):

Hi mmuzila,

Sorry for my delay in replying. Would you mind opening a pull request in
our gitlab project? Thank you!

-Kevin

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3518#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent
Moritz Barsnick
2018-05-08 22:00:29 UTC
Permalink
I'm not going to change the code, because we're supporting both
Ah, I didn't think of checking git master, I only saw the open ticket
and the patch applied in Fedora. So it already went in...
but it sounds like the checks in configure.ac need to verify the
compat functions exist.
Yeah, probably, if you want to avoid more use of conditionals.

Moritz

Loading...