Update to py-requests 2.6.0.
This commit is contained in:
parent
c7619f46c8
commit
dee2e30268
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2015/04/02 14:21:18 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2015/04/11 16:38:54 shadchin Exp $
|
||||
|
||||
COMMENT= elegant and simple HTTP library for Python
|
||||
|
||||
MODPY_EGG_VERSION=2.5.1
|
||||
MODPY_EGG_VERSION=2.6.0
|
||||
DISTNAME= requests-${MODPY_EGG_VERSION}
|
||||
REVISION= 0
|
||||
PKGNAME= py-requests-${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES= www
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (requests-2.5.1.tar.gz) = e3c179Ox4jI9yfzvBgs4DQX18YvQ8kf16edKYoJ53mY=
|
||||
SIZE (requests-2.5.1.tar.gz) = 443633
|
||||
SHA256 (requests-2.6.0.tar.gz) = HNvtHw4jbzXvVOkZmCx6M45P6jeGMQkz06eIegS3TXU=
|
||||
SIZE (requests-2.6.0.tar.gz) = 450389
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-requests_sessions_py,v 1.1 2015/03/23 15:26:19 jasper Exp $
|
||||
|
||||
Security fix for CVE-2015-2296 python-requests: session fixation and cookie stealing vulnerability
|
||||
http://www.openwall.com/lists/oss-security/2015/03/14/4
|
||||
|
||||
--- requests/sessions.py.orig Mon Mar 23 15:41:06 2015
|
||||
+++ requests/sessions.py Mon Mar 23 15:41:42 2015
|
||||
@@ -171,7 +171,7 @@ class SessionRedirectMixin(object):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user