Bug 1331001 - Hostname with IPv6 address returning status code 400 BAD request
Summary: Hostname with IPv6 address returning status code 400 BAD request
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-urllib3
Version: 24
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 12:30 UTC by Jiri Konecny
Modified: 2016-05-16 22:25 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-05-06 19:24:06 UTC


Attachments (Terms of Use)
reproducer.py (156 bytes, text/x-python)
2016-04-27 12:30 UTC, Jiri Konecny
no flags Details

Description Jiri Konecny 2016-04-27 12:30:17 UTC
Created attachment 1151358 [details]
reproducer.py

Description of problem:
HTTP request GET on hostname in format http://[2620:0::1]/rawhide/.treeinfo is failing with return code 400 BAD REQUEST. WGET and CURL working without problems.
It's working properly with IPv4 too.

As a side effect this is also breaking python-requests package.


Version-Release number of selected component (if applicable):
python3-urllib3-1.13.1-3

How reproducible:
Always

Steps to Reproduce:
You can use my small reproducer.

Actual results:
Returning 400 BAD REQUEST.

Expected results:
We should get data from a server.

Additional info:
I'm attaching the minimal reproducer.

Comment 1 Fedora Update System 2016-05-03 17:41:39 UTC
python-pysocks-1.5.6-2.fc24 python-requests-2.10.0-1.fc24 python-urllib3-1.15.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5fd6be4390

Comment 2 Fedora Update System 2016-05-03 17:42:23 UTC
python-pysocks-1.5.6-2.fc23 python-requests-2.10.0-1.fc23 python-urllib3-1.15.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b9b61b26d3

Comment 3 Fedora Update System 2016-05-03 17:43:27 UTC
python-pysocks-1.5.6-2.fc22 python-requests-2.10.0-1.fc22 python-urllib3-1.15.1-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a5e7a7d75b

Comment 4 Fedora Update System 2016-05-04 06:53:07 UTC
python-pysocks-1.5.6-2.fc22, python-requests-2.10.0-1.fc22, python-urllib3-1.15.1-1.fc22 has been pushed to the Fedora 22 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-2016-a5e7a7d75b

Comment 5 Fedora Update System 2016-05-04 07:25:27 UTC
python-pysocks-1.5.6-2.fc23, python-requests-2.10.0-1.fc23, python-urllib3-1.15.1-1.fc23 has been pushed to the Fedora 23 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-2016-b9b61b26d3

Comment 6 Fedora Update System 2016-05-04 14:30:00 UTC
python-pysocks-1.5.6-2.fc24, python-requests-2.10.0-1.fc24, python-urllib3-1.15.1-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-2016-5fd6be4390

Comment 7 Fedora Update System 2016-05-06 19:23:51 UTC
python-pysocks-1.5.6-2.fc23, python-requests-2.10.0-1.fc23, python-urllib3-1.15.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-05-07 11:39:17 UTC
python-pysocks-1.5.6-2.fc24, python-requests-2.10.0-1.fc24, python-urllib3-1.15.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-05-16 22:25:22 UTC
python-pysocks-1.5.6-2.fc22, python-requests-2.10.0-1.fc22, python-urllib3-1.15.1-1.fc22 has been pushed to the Fedora 22 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.