2.6.0
This commit is contained in:
parent
2665991eea
commit
ced4b9fe1c
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@
|
|||||||
/requests-2.5.0.tar.gz
|
/requests-2.5.0.tar.gz
|
||||||
/requests-2.5.1.tar.gz
|
/requests-2.5.1.tar.gz
|
||||||
/requests-2.5.3.tar.gz
|
/requests-2.5.3.tar.gz
|
||||||
|
/requests-2.6.0.tar.gz
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
From 3bd8afbff29e50b38f889b2f688785a669b9aafc Mon Sep 17 00:00:00 2001
|
|
||||||
From: Cory Benfield <lukasaoz@gmail.com>
|
|
||||||
Date: Sat, 14 Mar 2015 08:49:55 +0000
|
|
||||||
Subject: [PATCH] Don't ascribe cookies to the target domain.
|
|
||||||
|
|
||||||
---
|
|
||||||
requests/sessions.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/requests/sessions.py b/requests/sessions.py
|
|
||||||
index 4f30696..9d5498c 100644
|
|
||||||
--- a/requests/sessions.py
|
|
||||||
+++ b/requests/sessions.py
|
|
||||||
@@ -171,7 +171,7 @@ def resolve_redirects(self, resp, req, stream=False, timeout=None,
|
|
||||||
except KeyError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
- extract_cookies_to_jar(prepared_request._cookies, prepared_request, resp.raw)
|
|
||||||
+ extract_cookies_to_jar(prepared_request._cookies, req, resp.raw)
|
|
||||||
prepared_request._cookies.update(self.cookies)
|
|
||||||
prepared_request.prepare_cookies(prepared_request._cookies)
|
|
||||||
|
|
@ -5,8 +5,8 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-requests
|
Name: python-requests
|
||||||
Version: 2.5.3
|
Version: 2.6.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: HTTP library, written in Python, for human beings
|
Summary: HTTP library, written in Python, for human beings
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -19,10 +19,6 @@ Patch0: python-requests-system-cert-bundle.patch
|
|||||||
# Remove an unnecessary reference to a bundled compat lib in urllib3
|
# Remove an unnecessary reference to a bundled compat lib in urllib3
|
||||||
Patch1: python-requests-remove-nested-bundling-dep.patch
|
Patch1: python-requests-remove-nested-bundling-dep.patch
|
||||||
|
|
||||||
# Backport fix for CVE-2015-2296
|
|
||||||
# https://github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc
|
|
||||||
Patch2: python-requests-dont-ascribe-cookies.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-chardet
|
BuildRequires: python-chardet
|
||||||
@ -65,8 +61,6 @@ designed to make HTTP requests easy for developers.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
# Unbundle the certificate bundle from mozilla.
|
# Unbundle the certificate bundle from mozilla.
|
||||||
rm -rf requests/cacert.pem
|
rm -rf requests/cacert.pem
|
||||||
|
|
||||||
@ -147,6 +141,10 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 22 2015 Ralph Bean <rbean@redhat.com> - 2.6.0-1
|
||||||
|
- new version
|
||||||
|
- Remove patch for CVE-2015-2296, now included in the upstream release.
|
||||||
|
|
||||||
* Mon Mar 16 2015 Ralph Bean <rbean@redhat.com> - 2.5.3-2
|
* Mon Mar 16 2015 Ralph Bean <rbean@redhat.com> - 2.5.3-2
|
||||||
- Backport fix for CVE-2015-2296.
|
- Backport fix for CVE-2015-2296.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user