Bug 1397326 - IDNA 2008 encoding broke http+unix adapter
Summary: IDNA 2008 encoding broke http+unix adapter
Keywords:
Status: CLOSED DUPLICATE of bug 1397149
Alias: None
Product: Fedora
Classification: Fedora
Component: python-requests
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-22 10:28 UTC by Christian Heimes
Modified: 2016-11-22 11:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-22 11:19:54 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/kennethreitz requests pull 3713 0 None None None 2016-11-22 10:28:55 UTC

Description Christian Heimes 2016-11-22 10:28:55 UTC
Description of problem:
python-requests 2.12 switched from IDNA 2003 (builtin encoder) to IDNA2008 (python-idna). The switch broke adapters for http+unix URIs because % and / are invalid code points for UTS46.

Version-Release number of selected component (if applicable):
2.12

How reproducible:
Always

Steps to Reproduce:
1. Run test suite of Custodia (https://github.com/latchset/custodia/) or SSSD

Actual results:


Expected results:


Additional info:
My fix https://github.com/kennethreitz/requests/pull/3713 has landed in upstream.

Comment 1 Lukas Slebodnik 2016-11-22 11:19:54 UTC

*** This bug has been marked as a duplicate of bug 1397149 ***


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