forked from pool/python-urlgrabber
Accepting request 318370 from SUSE:SLE-12:Update
- declare $ sign as a safe character in url paths to prevent escaping /$RCE/ which lead into problems with token auth (bnc#902416) - set curl option SSL_VERIFYHOST correct OBS-URL: https://build.opensuse.org/request/show/318370 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urlgrabber?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
57a2e44cf6
commit
a73bf5ff0b
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-urlgrabber
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,6 +27,8 @@ Source: http://pypi.python.org/packages/source/u/urlgrabber/urlgrabber-%
|
||||
Patch0: grabber_fix.diff
|
||||
# PATCH-FIX-UPSTREAM bnc#896844
|
||||
Patch1: python-urlgrabber-3.9.1-preserve-queryparams-in-urls.patch
|
||||
Patch2: declare-dollar-sign-as-safe-in-urlquote.patch
|
||||
Patch3: python-urlgrabber-3.9.1-set-SSL_VERIFYHOST-correct.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pycurl
|
||||
@@ -49,6 +51,8 @@ throttling, authentication, proxies and more.
|
||||
sed -i "13d" urlgrabber/__init__.py # Remove wrong license header, fixes bnc#781323
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
Reference in New Issue
Block a user