mrunge pushed to python-django-openstack-auth (master). "Update patch and finalize rebase"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 14 11:56:20 UTC 2015


>From 3144286dd2946d3962d8118db9d5df2fa62f9d4a Mon Sep 17 00:00:00 2001
From: Matthias Runge <mrunge at redhat.com>
Date: Wed, 4 Feb 2015 10:25:26 +0100
Subject: Update patch and finalize rebase


diff --git a/0001-remove-runtime-dep-to-python-pbr.patch b/0001-remove-runtime-dep-to-python-pbr.patch
index aa34cbb..4b98ac2 100644
--- a/0001-remove-runtime-dep-to-python-pbr.patch
+++ b/0001-remove-runtime-dep-to-python-pbr.patch
@@ -1,4 +1,4 @@
-From 9f7f1b3518d816adbf828ef1f082fa8b8ec4cdfa Mon Sep 17 00:00:00 2001
+From 3a7e70b27b4fb0ea6e53c068af0b4d417183aa9d Mon Sep 17 00:00:00 2001
 From: Alan Pevec <apevec at redhat.com>
 Date: Wed, 7 May 2014 15:47:49 +0200
 Subject: [PATCH] remove runtime dep to python-pbr
diff --git a/0002-Horizon-login-page-contains-DOS-attack-mechanism.patch b/0002-Horizon-login-page-contains-DOS-attack-mechanism.patch
deleted file mode 100644
index e52a845..0000000
--- a/0002-Horizon-login-page-contains-DOS-attack-mechanism.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 9cc367a2002b6c550b467e0471160fb610968e3d Mon Sep 17 00:00:00 2001
-From: eric <eric.peterson1 at twcable.com>
-Date: Mon, 8 Dec 2014 16:38:26 -0700
-Subject: [PATCH] Horizon login page contains DOS attack mechanism
-
-the horizon login page (and middleware) accesses the session
-too early in the login process, which will create session records
-in the session backend.  This is especially problematic when non-cookie
-backends are used.
-
-Co-Authored-By: Tihomir Trifonov <t.trifonov at gmail.com>
-Co-Authored-By: Eric Peterson <eric.peterson1 at twcable.com>
-
-Change-Id: I9a4999eb5f053515575ef09b8ba9d3bb3f114e5c
-Closes-Bug: 1394370
-(cherry picked from commit e676c88a329af57d6c4f13df54f6e1e06c1f8360)
----
- openstack_auth/forms.py | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/openstack_auth/forms.py b/openstack_auth/forms.py
-index 2c8092c..8c1fcee 100644
---- a/openstack_auth/forms.py
-+++ b/openstack_auth/forms.py
-@@ -98,7 +98,6 @@ class Login(django_auth_forms.AuthenticationForm):
-             msg = 'Login failed for user "%(username)s".' % \
-                 {'username': username}
-             LOG.warning(msg)
--            self.request.session.flush()
-             raise forms.ValidationError(exc)
-         if hasattr(self, 'check_for_test_cookie'):  # Dropped in django 1.7
-             self.check_for_test_cookie()
diff --git a/python-django-openstack-auth.spec b/python-django-openstack-auth.spec
index b23aa8f..80e919d 100644
--- a/python-django-openstack-auth.spec
+++ b/python-django-openstack-auth.spec
@@ -13,7 +13,6 @@ Source0:        http://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_nam
 # patches_base=1.1.9
 #
 Patch0001: 0001-remove-runtime-dep-to-python-pbr.patch
-Patch0002: 0002-Horizon-login-page-contains-DOS-attack-mechanism.patch
 
 BuildArch:      noarch
 
@@ -44,7 +43,6 @@ Keystone V2 API.
 %setup -q -n %{pypi_name}-%{version}
 
 %patch0001 -p1
-%patch0002 -p1
 
 # Remove bundled egg-info
 # rm -rf %{pypi_name}.egg-info
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-django-openstack-auth.git/commit/?h=master&id=3144286dd2946d3962d8118db9d5df2fa62f9d4a


More information about the scm-commits mailing list