diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2018-10-17 10:32:11 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-10-16 21:23:47 -0700 |
commit | cc7570f159e0b7e260576feb3c45a1390136789e (patch) | |
tree | e200f9494bb4312feffa10b12991d0bbee7bf101 /recipes-devtools/python/python-requests.inc | |
parent | 52f153971ca0d592195677991a404eabefe57f36 (diff) | |
download | meta-python2-cc7570f159e0b7e260576feb3c45a1390136789e.tar.gz |
python-requests: fix CVE-2018-18074
Backport two patches to fix the following CVE.
CVE: CVE-2018-18074
(From meta-openembedded commit: 107eefed37e4af39ec1565c57d03c7f9adea69af)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-requests.inc')
-rw-r--r-- | recipes-devtools/python/python-requests.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-requests.inc b/recipes-devtools/python/python-requests.inc index efc652d..301c2f8 100644 --- a/recipes-devtools/python/python-requests.inc +++ b/recipes-devtools/python/python-requests.inc @@ -3,6 +3,12 @@ HOMEPAGE = "http://python-requests.org" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=bfbeafb85a2cee261510d65d5ec19156" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:" + +SRC_URI += "file://0001-Strip-Authorization-header-whenever-root-URL-changes.patch \ + file://0002-Rework-authorization-stripping-logic-as-discussed.patch \ + " + SRC_URI[md5sum] = "6c1a31afec9d614e2e71a91ee6ca2878" SRC_URI[sha256sum] = "ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a" |