2016-08-10 19:12:59 |
LaMont Jones |
bug |
|
|
added bug |
2016-08-10 19:32:26 |
Luke Faraone |
tags |
|
patch |
|
2016-08-10 19:32:40 |
Luke Faraone |
python-django (Ubuntu): status |
New |
Triaged |
|
2016-08-10 19:32:53 |
Luke Faraone |
python-django (Ubuntu): importance |
Undecided |
Medium |
|
2016-08-10 19:43:22 |
Luke Faraone |
bug watch added |
|
http://code.djangoproject.com/ticket/27046 |
|
2016-08-10 19:43:22 |
Luke Faraone |
bug task added |
|
django |
|
2016-08-11 15:18:29 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Server Team |
2016-08-11 15:18:41 |
Robie Basak |
tags |
patch |
bitesize patch |
|
2016-09-13 16:26:32 |
Robie Basak |
python-django (Ubuntu): assignee |
|
Jon Grimm (jgrimm) |
|
2016-09-16 04:05:13 |
Jon Grimm |
python-django (Ubuntu): status |
Triaged |
In Progress |
|
2016-09-16 05:46:12 |
Jon Grimm |
attachment added |
|
python-django_1.8.7-1ubuntu7.debdiff https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1611923/+attachment/4741773/+files/python-django_1.8.7-1ubuntu7.debdiff |
|
2016-09-16 05:46:46 |
Jon Grimm |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2016-09-16 13:22:46 |
Jon Grimm |
attachment added |
|
python-django_1.8.7-1ubuntu7.debdiff https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1611923/+attachment/4742030/+files/python-django_1.8.7-1ubuntu7.debdiff |
|
2016-09-16 13:23:05 |
Jon Grimm |
attachment removed |
python-django_1.8.7-1ubuntu7.debdiff https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1611923/+attachment/4741773/+files/python-django_1.8.7-1ubuntu7.debdiff |
|
|
2016-09-16 15:57:03 |
Nish Aravamudan |
bug |
|
|
added subscriber Nish Aravamudan |
2016-09-28 09:15:15 |
Launchpad Janitor |
python-django (Ubuntu): status |
In Progress |
Fix Released |
|
2016-09-28 18:46:04 |
Jon Grimm |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2016-09-28 20:28:52 |
Nish Aravamudan |
nominated for series |
|
Ubuntu Xenial |
|
2016-09-28 20:28:52 |
Nish Aravamudan |
bug task added |
|
python-django (Ubuntu Xenial) |
|
2016-09-28 20:32:28 |
Jon Grimm |
description |
Addresses of the form "::ffff:169.254.169.254" are perfectly valid, but not supported by django's http.request.
The following diff addresses the problem.
--- django/http/request.py 2015-11-24 10:21:15.000000000 -0700
+++ django/http/request.py.new 2016-08-10 13:12:17.459998895 -0600
@@ -23,7 +23,7 @@
)
RAISE_ERROR = object()
-host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
+host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9\.:]+\])(:\d+)?$")
class UnreadablePostError(IOError): |
SRU Template
[Impact]
* django-python is unable to use ipv6 formatted ipv4 addresses.
For example, Addresses of the form "::ffff:169.254.169.254" are perfectly valid, but not supported. This package is a dependency of maas and openstack among others, thus will limit deployments.
* The upstream fix is available, simple, and provides an updated testcase to cover and regress-test.
[Test Case]
* The updated unit test case is probably the simplest way to verify.
* See tests/README.rst: Updated test case will fail without the accompanied fix.
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py requests
Testing against Django installed in '/home/jgrimm/work/sru/django-python/python-django-1.8.7/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
...........................................
----------------------------------------------------------------------
PYTHONPATH=..:$PYTHONPATH ./runtests.py requests
Testing against Django installed in '/home/jgrimm/work/sru/django-python/python-django-1.8.7/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
...........................................
----------------------------------------------------------------------
Ran 43 tests in 0.016s
OK
[Regression Potential]
* Low potential for regression as host regex becomes more permissive.
* Full unit test additionally run to ensure no new failures.
[Other Info]
* Backported from upstream with no modifications required.
-- original bug description --
Addresses of the form "::ffff:169.254.169.254" are perfectly valid, but not supported by django's http.request.
The following diff addresses the problem.
--- django/http/request.py 2015-11-24 10:21:15.000000000 -0700
+++ django/http/request.py.new 2016-08-10 13:12:17.459998895 -0600
@@ -23,7 +23,7 @@
)
RAISE_ERROR = object()
-host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
+host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9\.:]+\])(:\d+)?$")
class UnreadablePostError(IOError): |
|
2016-09-28 20:32:59 |
Jon Grimm |
python-django (Ubuntu Xenial): importance |
Undecided |
Low |
|
2016-09-28 20:33:09 |
Jon Grimm |
python-django (Ubuntu Xenial): importance |
Low |
Medium |
|
2016-09-28 20:57:16 |
Jon Grimm |
python-django (Ubuntu Xenial): status |
New |
Triaged |
|
2016-09-28 20:57:25 |
Jon Grimm |
python-django (Ubuntu Xenial): assignee |
|
Jon Grimm (jgrimm) |
|
2016-09-28 20:58:28 |
Jon Grimm |
description |
SRU Template
[Impact]
* django-python is unable to use ipv6 formatted ipv4 addresses.
For example, Addresses of the form "::ffff:169.254.169.254" are perfectly valid, but not supported. This package is a dependency of maas and openstack among others, thus will limit deployments.
* The upstream fix is available, simple, and provides an updated testcase to cover and regress-test.
[Test Case]
* The updated unit test case is probably the simplest way to verify.
* See tests/README.rst: Updated test case will fail without the accompanied fix.
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py requests
Testing against Django installed in '/home/jgrimm/work/sru/django-python/python-django-1.8.7/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
...........................................
----------------------------------------------------------------------
PYTHONPATH=..:$PYTHONPATH ./runtests.py requests
Testing against Django installed in '/home/jgrimm/work/sru/django-python/python-django-1.8.7/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
...........................................
----------------------------------------------------------------------
Ran 43 tests in 0.016s
OK
[Regression Potential]
* Low potential for regression as host regex becomes more permissive.
* Full unit test additionally run to ensure no new failures.
[Other Info]
* Backported from upstream with no modifications required.
-- original bug description --
Addresses of the form "::ffff:169.254.169.254" are perfectly valid, but not supported by django's http.request.
The following diff addresses the problem.
--- django/http/request.py 2015-11-24 10:21:15.000000000 -0700
+++ django/http/request.py.new 2016-08-10 13:12:17.459998895 -0600
@@ -23,7 +23,7 @@
)
RAISE_ERROR = object()
-host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
+host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9\.:]+\])(:\d+)?$")
class UnreadablePostError(IOError): |
SRU Template
[Impact]
* django-python is unable to use ipv6 formatted ipv4 addresses.
For example, Addresses of the form "::ffff:169.254.169.254" are perfectly valid, but not supported. This package is a dependency of maas and openstack among others, thus will limit deployments.
* The upstream fix is available, simple, and provides an updated testcase to cover and regress-test.
[Test Case]
* The updated unit test case is probably the simplest way to verify.
* See tests/README.rst: Updated test case will fail without the accompanied fix.
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py requests
Testing against Django installed in '/home/jgrimm/work/sru/django-python/python-django-1.8.7/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
...........................................
----------------------------------------------------------------------
PYTHONPATH=..:$PYTHONPATH ./runtests.py requests
Testing against Django installed in '/home/jgrimm/work/sru/django-python/python-django-1.8.7/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
...........................................
----------------------------------------------------------------------
Ran 43 tests in 0.016s
OK
[Regression Potential]
* Low potential for regression as validation regex becomes more permissive.
* Full unit test additionally run to ensure no new failures.
[Other Info]
* Backported from upstream with no modifications required.
-- original bug description --
Addresses of the form "::ffff:169.254.169.254" are perfectly valid, but not supported by django's http.request.
The following diff addresses the problem.
--- django/http/request.py 2015-11-24 10:21:15.000000000 -0700
+++ django/http/request.py.new 2016-08-10 13:12:17.459998895 -0600
@@ -23,7 +23,7 @@
)
RAISE_ERROR = object()
-host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
+host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9\.:]+\])(:\d+)?$")
class UnreadablePostError(IOError): |
|
2016-09-28 21:03:35 |
Jon Grimm |
attachment added |
|
python-django_1.8.7-1ubuntu5.3.debdiff https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1611923/+attachment/4750507/+files/python-django_1.8.7-1ubuntu5.3.debdiff |
|
2016-09-28 21:11:55 |
Jon Grimm |
python-django (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2016-09-28 21:12:29 |
Jon Grimm |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-09-29 18:07:12 |
Brian Murray |
python-django (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-09-29 18:07:16 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2016-09-29 18:07:25 |
Brian Murray |
tags |
bitesize patch |
bitesize patch verification-needed |
|
2021-09-29 16:01:53 |
Bryce Harrington |
python-django (Ubuntu Xenial): status |
Fix Committed |
Won't Fix |
|