14
0

Accepting request 948302 from devel:languages:python

- Update to 0.4.7:
  * Fix the ~ character being percent escaped when sending URLs to servers.
  * Python 3.10 compatibility
  * Fix a bug in the regex used to parse www-authenticate headers that could
    lead to Denial-of-Service

OBS-URL: https://build.opensuse.org/request/show/948302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mechanize?expand=0&rev=26
This commit is contained in:
2022-01-24 22:09:48 +00:00
committed by Git OBS Bridge
4 changed files with 15 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6355c11141f6d4b54a17fc2106944806b5db2711e60b120d15d83db438c333fd
size 216908

3
mechanize-0.4.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1773a8f5818398e0010e781dc0f942cd88b107a57424c904d545cd827c216809
size 217289

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jan 24 00:57:13 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.4.7:
* Fix the ~ character being percent escaped when sending URLs to servers.
* Python 3.10 compatibility
* Fix a bug in the regex used to parse www-authenticate headers that could
lead to Denial-of-Service
-------------------------------------------------------------------
Wed Jan 22 15:45:36 UTC 2020 - Martin Sirringhaus <martin.sirringhaus@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mechanize
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,10 @@
%define modname mechanize
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-mechanize
Version: 0.4.5
Version: 0.4.7
Release: 0
Summary: Stateful programmatic web browsing
License: (BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause
Group: Development/Languages/Python
License: BSD-3-Clause AND (BSD-3-Clause OR ZPL-2.1)
URL: https://github.com/python-mechanize/mechanize
Source: https://files.pythonhosted.org/packages/source/m/mechanize/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module Twisted}