Bug 1468608 - IDN2 strips any underscores from domain name
Summary: IDN2 strips any underscores from domain name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libidn2
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1474324
Blocks: 1449145
TreeView+ depends on / blocked
 
Reported: 2017-07-07 14:07 UTC by Petr Menšík
Modified: 2017-08-18 01:21 UTC (History)
2 users (show)

Fixed In Version: libidn2-2.0.3-1.fc26 libidn2-2.0.3-1.fc25 libidn2-2.0.3-1.el6 libidn2-2.0.3-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-03 15:53:49 UTC


Attachments (Terms of Use)

Description Petr Menšík 2017-07-07 14:07:21 UTC
Description of problem:
IDN2 library will strip any underscores from give names

Version-Release number of selected component (if applicable):
libidn2-2.0.2-1.fc25.x86_64

How reproducible:
always

Steps to Reproduce:
1. idn2 _xmpp-server._tcp.domain.com
2.
3.

Actual results:
xmpp-server.tcp.domain.com

Expected results:
_xmpp-server._tcp.domain.com

Additional info:
Switched dnsmasq to libidn2 as bug #1449150. However regression was reported at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220521

Are SRV record supposed to be displayed in punnycode all the time?
Transitional mode does not help. idn command does not strip underscores.

Is there any known workaround or solution with libidn2?

Comment 1 Nikos Mavrogiannopoulos 2017-07-31 08:57:46 UTC
This was reported independently by the systemd maintainers as well upstream. The solution is to upgrade to 2.0.3 (thus added dependency on resolving this bug).

Comment 2 Robert Scheck 2017-07-31 10:07:15 UTC
Depends on https://gitlab.com/libidn/libidn2/issues/37 which was fixed
during the weekend AFAIK.

Comment 3 Nikos Mavrogiannopoulos 2017-07-31 10:47:44 UTC
I didn't realize that. However, ronn is available in fedora under rubygem-ronn (for some unknown reason).

Comment 4 Fedora Update System 2017-07-31 22:56:55 UTC
libidn2-2.0.3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-02aafa240a

Comment 5 Fedora Update System 2017-07-31 23:01:05 UTC
libidn2-2.0.3-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-68c82191ac

Comment 6 Fedora Update System 2017-08-01 22:19:18 UTC
libidn2-2.0.3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-68c82191ac

Comment 7 Fedora Update System 2017-08-01 22:21:04 UTC
libidn2-2.0.3-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-eb977ce18e

Comment 8 Fedora Update System 2017-08-01 23:49:22 UTC
libidn2-2.0.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bed0d7ff15

Comment 9 Fedora Update System 2017-08-02 01:52:41 UTC
libidn2-2.0.3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-02aafa240a

Comment 10 Fedora Update System 2017-08-02 03:51:15 UTC
libidn2-2.0.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-326839d976

Comment 11 Fedora Update System 2017-08-03 15:53:49 UTC
libidn2-2.0.3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2017-08-09 19:59:01 UTC
libidn2-2.0.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2017-08-18 00:47:10 UTC
libidn2-2.0.3-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2017-08-18 01:21:12 UTC
libidn2-2.0.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.