[Python-modules-commits] r23212 - in packages/python-django/trunk/debian (3 files)
hertzog at users.alioth.debian.org
hertzog at users.alioth.debian.org
Wed Dec 26 14:59:00 UTC 2012
Date: Wednesday, December 26, 2012 @ 14:58:57
Author: hertzog
Revision: 23212
* New upstream security and maintenance release. Closes: #696535
https://www.djangoproject.com/weblog/2012/dec/10/security/
* Drop debian/patches/01_fix-self-tests.diff, merged upstream.
Modified:
packages/python-django/trunk/debian/changelog
packages/python-django/trunk/debian/patches/series
Deleted:
packages/python-django/trunk/debian/patches/01_fix-self-tests.diff
Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog 2012-12-26 11:38:09 UTC (rev 23211)
+++ packages/python-django/trunk/debian/changelog 2012-12-26 14:58:57 UTC (rev 23212)
@@ -1,3 +1,11 @@
+python-django (1.4.3-1) unstable; urgency=high
+
+ * New upstream security and maintenance release. Closes: #696535
+ https://www.djangoproject.com/weblog/2012/dec/10/security/
+ * Drop debian/patches/01_fix-self-tests.diff, merged upstream.
+
+ -- Raphaël Hertzog <hertzog at debian.org> Wed, 26 Dec 2012 15:49:32 +0100
+
python-django (1.4.2-2) unstable; urgency=low
* Don't fail self-tests if MANAGERS or ADMINS is defined in settings.py.
Deleted: packages/python-django/trunk/debian/patches/01_fix-self-tests.diff
===================================================================
--- packages/python-django/trunk/debian/patches/01_fix-self-tests.diff 2012-12-26 11:38:09 UTC (rev 23211)
+++ packages/python-django/trunk/debian/patches/01_fix-self-tests.diff 2012-12-26 14:58:57 UTC (rev 23212)
@@ -1,36 +0,0 @@
-From: Claude Paroz <claude at 2xlibre.net>
-Date: Mon, 29 Oct 2012 17:26:10 +0100
-Subject: [PATCH] Fixed #19172 -- Isolated poisoned_http_host tests from 500 handlers
-Origin: upstream, https://code.djangoproject.com/changeset/ad2d57a2ccb6316001205739090a2a1d79453207
-Bug: https://code.djangoproject.com/ticket/19172
-Applied-Upstream: 1.4.3
-Bug-Debian: http://bugs.debian.org/693752
-Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1080204
-
-Thanks bernardofontes for the report.
----
- django/contrib/auth/tests/views.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-Index: python-django-1.4.1/django/contrib/auth/tests/views.py
-===================================================================
---- python-django-1.4.1.orig/django/contrib/auth/tests/views.py 2012-11-19 14:15:53.000000000 -0600
-+++ python-django-1.4.1/django/contrib/auth/tests/views.py 2012-11-19 14:15:53.000000000 -0600
-@@ -118,6 +118,8 @@
- self.assertTrue("http://adminsite.com" in mail.outbox[0].body)
- self.assertEqual(settings.DEFAULT_FROM_EMAIL, mail.outbox[0].from_email)
-
-+ # Skip any 500 handler action (like sending more mail...)
-+ @override_settings(DEBUG_PROPAGATE_EXCEPTIONS=True)
- def test_poisoned_http_host(self):
- "Poisoned HTTP_HOST headers can't be used for reset emails"
- # This attack is based on the way browsers handle URLs. The colon
-@@ -134,6 +136,8 @@
- )
- self.assertEqual(len(mail.outbox), 0)
-
-+ # Skip any 500 handler action (like sending more mail...)
-+ @override_settings(DEBUG_PROPAGATE_EXCEPTIONS=True)
- def test_poisoned_http_host_admin_site(self):
- "Poisoned HTTP_HOST headers can't be used for reset emails on admin views"
- with self.assertRaises(SuspiciousOperation):
Modified: packages/python-django/trunk/debian/patches/series
===================================================================
--- packages/python-django/trunk/debian/patches/series 2012-12-26 11:38:09 UTC (rev 23211)
+++ packages/python-django/trunk/debian/patches/series 2012-12-26 14:58:57 UTC (rev 23212)
@@ -1,4 +1,3 @@
-01_fix-self-tests.diff
02_disable-sources-in-sphinxdoc.diff
03_manpage.diff
06_use_debian_geoip_database_as_default.diff
More information about the Python-modules-commits
mailing list