Bug 1674610

Summary: dns.name.Name.to_unicode does not escape special chars
Product: [Fedora] Fedora Reporter: Christian Heimes <cheimes>
Component: python-dnsAssignee: Jeffrey C. Ollie <jeff>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: aviso, jeff, louiz, pspacek, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-dns-1.16.0-1.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 01:18:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Heimes 2019-02-11 16:44:46 UTC
Description of problem:

dnspython's name class does not handle escaped special chars correctly. The bug causes FreeIPA to display wrong admin email addresses of SOA records.

Version-Release number of selected component (if applicable):
python3-dns-1.15.0-9.fc29.noarch

How reproducible:
always

Steps to Reproduce:
>>> import dns.name
>>> print(dns.name.Name(dns.name.from_text(r'a\.b.c')).to_unicode())

Actual results:
a.b.c

Expected results:
a\.b.c

Additional info:
IPA issue https://pagure.io/freeipa/issue/7739
Upstream issue: https://github.com/rthalley/dnspython/issues/339
Upstream bug fix:

Comment 2 Fedora Update System 2019-07-28 13:36:39 UTC
FEDORA-2019-2a9356957c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2a9356957c

Comment 3 Fedora Update System 2019-07-29 04:41:48 UTC
python-dns-1.16.0-1.fc30 has been pushed to the Fedora 30 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-2019-2a9356957c

Comment 4 Fedora Update System 2019-08-06 01:18:42 UTC
python-dns-1.16.0-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.