Opened 5 years ago

Closed 5 years ago

#55197 closed defect (fixed)

curl: +idn variant ineffective, curl now supports only libidn2

Reported by: dbevans (David B. Evans) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: curl


curl some time ago switched support for IDN from libidn to libidn2 using --with-idn2 rather than --with-idn. This change was prompted by CVE-2016-8625.

See idn: switch to libidn2 use and IDNA2008 support

As a consequence, the current +idn variant is ineffective and curl will link with libidn2 if it is available regardless of variant settings.

Suggest updating the +idn variant to use libidn2 and --with-idn2.

Change History (2)

comment:1 Changed 5 years ago by ryandesign (Ryan Schmidt)

Status: newaccepted

Thanks for letting me know! I failed to notice this. I'll remove the idn variant and always enable libidn2 support, as recommended by the developer of curl.

comment:2 Changed 5 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: acceptedclosed

In 8e960042fb486d052e9163b4f2f2a4b76f1c81dd/macports-ports:

curl: Enable libidn2 support and remove idn variant

Closes: #55197

Note: See TracTickets for help on using tickets.