Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-10-05 16:19:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-urllib3 (Old)
 and      /work/SRC/openSUSE:Factory/.python-urllib3.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-urllib3"

Sat Oct  5 16:19:40 2019 rev:35 rq:734610 version:1.25.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes    
2019-09-30 15:57:01.197596494 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.2352/python-urllib3.changes  
2019-10-05 16:19:42.237531163 +0200
@@ -1,0 +2,6 @@
+Wed Oct  2 13:18:36 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Updae to 1.25.6:
+  * Fix issue where tilde (~) characters were incorrectly percent-encoded in 
the path. (Pull #1692)
+
+-------------------------------------------------------------------

Old:
----
  urllib3-1.25.5.tar.gz

New:
----
  urllib3-1.25.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-urllib3.spec ++++++
--- /var/tmp/diff_new_pack.zeMljg/_old  2019-10-05 16:19:43.189528684 +0200
+++ /var/tmp/diff_new_pack.zeMljg/_new  2019-10-05 16:19:43.193528674 +0200
@@ -28,7 +28,7 @@
 %endif
 %bcond_without python2
 Name:           python-urllib3%{psuffix}
-Version:        1.25.5
+Version:        1.25.6
 Release:        0
 Summary:        HTTP library with thread-safe connection pooling, file post, 
and more
 License:        MIT

++++++ urllib3-1.25.5.tar.gz -> urllib3-1.25.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/CHANGES.rst 
new/urllib3-1.25.6/CHANGES.rst
--- old/urllib3-1.25.5/CHANGES.rst      2019-09-20 03:35:40.000000000 +0200
+++ new/urllib3-1.25.6/CHANGES.rst      2019-09-24 16:34:56.000000000 +0200
@@ -1,6 +1,13 @@
 Changes
 =======
 
+1.25.6 (2019-09-24)
+-------------------
+
+* Fix issue where tilde (``~``) characters were incorrectly
+  percent-encoded in the path. (Pull #1692)
+
+
 1.25.5 (2019-09-19)
 -------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/PKG-INFO new/urllib3-1.25.6/PKG-INFO
--- old/urllib3-1.25.5/PKG-INFO 2019-09-20 03:35:53.000000000 +0200
+++ new/urllib3-1.25.6/PKG-INFO 2019-09-24 16:35:08.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: urllib3
-Version: 1.25.5
+Version: 1.25.6
 Summary: HTTP library with thread-safe connection pooling, file post, and more.
 Home-page: https://urllib3.readthedocs.io/
 Author: Andrey Petrov
@@ -145,6 +145,13 @@
         Changes
         =======
         
+        1.25.6 (2019-09-24)
+        -------------------
+        
+        * Fix issue where tilde (``~``) characters were incorrectly
+          percent-encoded in the path. (Pull #1692)
+        
+        
         1.25.5 (2019-09-19)
         -------------------
         
@@ -1222,6 +1229,6 @@
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Software Development :: Libraries
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
+Provides-Extra: secure
 Provides-Extra: brotli
 Provides-Extra: socks
-Provides-Extra: secure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/src/urllib3/__init__.py 
new/urllib3-1.25.6/src/urllib3/__init__.py
--- old/urllib3-1.25.5/src/urllib3/__init__.py  2019-09-20 03:35:40.000000000 
+0200
+++ new/urllib3-1.25.6/src/urllib3/__init__.py  2019-09-24 16:34:56.000000000 
+0200
@@ -22,7 +22,7 @@
 
 __author__ = "Andrey Petrov ([email protected])"
 __license__ = "MIT"
-__version__ = "1.25.5"
+__version__ = "1.25.6"
 
 __all__ = (
     "HTTPConnectionPool",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/src/urllib3/util/url.py 
new/urllib3-1.25.6/src/urllib3/util/url.py
--- old/urllib3-1.25.5/src/urllib3/util/url.py  2019-09-20 03:35:40.000000000 
+0200
+++ new/urllib3-1.25.6/src/urllib3/util/url.py  2019-09-24 16:34:56.000000000 
+0200
@@ -50,7 +50,7 @@
     "(?:(?:%(hex)s:){0,6}%(hex)s)?::",
 ]
 
-UNRESERVED_PAT = 
r"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._!\-"
+UNRESERVED_PAT = 
r"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._!\-~"
 IPV6_PAT = "(?:" + "|".join([x % _subs for x in _variations]) + ")"
 ZONE_ID_PAT = "(?:%25|%)(?:[" + UNRESERVED_PAT + "]|%[a-fA-F0-9]{2})+"
 IPV6_ADDRZ_PAT = r"\[" + IPV6_PAT + r"(?:" + ZONE_ID_PAT + r")?\]"
@@ -63,17 +63,18 @@
 BRACELESS_IPV6_ADDRZ_RE = re.compile("^" + IPV6_ADDRZ_PAT[2:-2] + "$")
 ZONE_ID_RE = re.compile("(" + ZONE_ID_PAT + r")\]$")
 
-SUBAUTHORITY_PAT = (u"^(?:(.*)@)?" u"(%s|%s|%s)" u"(?::([0-9]{0,5}))?$") % (
+SUBAUTHORITY_PAT = (u"^(?:(.*)@)?(%s|%s|%s)(?::([0-9]{0,5}))?$") % (
     REG_NAME_PAT,
     IPV4_PAT,
     IPV6_ADDRZ_PAT,
 )
 SUBAUTHORITY_RE = re.compile(SUBAUTHORITY_PAT, re.UNICODE | re.DOTALL)
 
-ZONE_ID_CHARS = set(
-    "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789._!-"
+UNRESERVED_CHARS = set(
+    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-~"
 )
-USERINFO_CHARS = ZONE_ID_CHARS | set("$&'()*+,;=:")
+SUB_DELIM_CHARS = set("!$&'()*+,;=")
+USERINFO_CHARS = UNRESERVED_CHARS | SUB_DELIM_CHARS | {":"}
 PATH_CHARS = USERINFO_CHARS | {"@", "/"}
 QUERY_CHARS = FRAGMENT_CHARS = PATH_CHARS | {"?"}
 
@@ -290,7 +291,7 @@
                         zone_id = zone_id[3:]
                     else:
                         zone_id = zone_id[1:]
-                    zone_id = "%" + _encode_invalid_chars(zone_id, 
ZONE_ID_CHARS)
+                    zone_id = "%" + _encode_invalid_chars(zone_id, 
UNRESERVED_CHARS)
                     return host[:start].lower() + zone_id + host[end:]
                 else:
                     return host.lower()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/src/urllib3.egg-info/PKG-INFO 
new/urllib3-1.25.6/src/urllib3.egg-info/PKG-INFO
--- old/urllib3-1.25.5/src/urllib3.egg-info/PKG-INFO    2019-09-20 
03:35:53.000000000 +0200
+++ new/urllib3-1.25.6/src/urllib3.egg-info/PKG-INFO    2019-09-24 
16:35:08.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: urllib3
-Version: 1.25.5
+Version: 1.25.6
 Summary: HTTP library with thread-safe connection pooling, file post, and more.
 Home-page: https://urllib3.readthedocs.io/
 Author: Andrey Petrov
@@ -145,6 +145,13 @@
         Changes
         =======
         
+        1.25.6 (2019-09-24)
+        -------------------
+        
+        * Fix issue where tilde (``~``) characters were incorrectly
+          percent-encoded in the path. (Pull #1692)
+        
+        
         1.25.5 (2019-09-19)
         -------------------
         
@@ -1222,6 +1229,6 @@
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Software Development :: Libraries
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
+Provides-Extra: secure
 Provides-Extra: brotli
 Provides-Extra: socks
-Provides-Extra: secure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/test/test_util.py 
new/urllib3-1.25.6/test/test_util.py
--- old/urllib3-1.25.5/test/test_util.py        2019-09-20 03:35:40.000000000 
+0200
+++ new/urllib3-1.25.6/test/test_util.py        2019-09-24 16:34:56.000000000 
+0200
@@ -171,6 +171,10 @@
         [
             ("HTTP://GOOGLE.COM/MAIL/", "http://google.com/MAIL/";),
             (
+                "http://[email protected]:[email protected]/~tilde@?@";,
+                "http://user%40domain.com:[email protected]/~tilde@?@";,
+            ),
+            (
                 "HTTP://JeremyCline:[email protected]:8080/",
                 "http://JeremyCline:[email protected]:8080/";,
             ),


Reply via email to