Hello community,
here is the log from the commit of package python3-html5lib for openSUSE:Factory checked in at 2015-08-05 06:50:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-html5lib (Old)
and /work/SRC/openSUSE:Factory/.python3-html5lib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-html5lib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-html5lib/python3-html5lib.changes 2015-05-02 21:43:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-html5lib.new/python3-html5lib.changes 2015-08-05 06:50:15.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Jul 13 21:16:33 UTC 2015 - arun@gmx.de
+
+- update to version 0.999999:
+ * Fix #189: fix the sanitizer to allow relative URLs again (as it
+ did prior to 0.9999/1.0b5).
+
+-------------------------------------------------------------------
Old:
----
html5lib-0.99999.tar.gz
New:
----
html5lib-0.999999.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-html5lib.spec ++++++
--- /var/tmp/diff_new_pack.ctbo2U/_old 2015-08-05 06:50:15.000000000 +0200
+++ /var/tmp/diff_new_pack.ctbo2U/_new 2015-08-05 06:50:15.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-html5lib
-Version: 0.99999
+Version: 0.999999
Release: 0
Summary: HTML parser based on the WHAT-WG Web Applications 1
License: MIT
++++++ html5lib-0.99999.tar.gz -> html5lib-0.999999.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html5lib-0.99999/CHANGES.rst new/html5lib-0.999999/CHANGES.rst
--- old/html5lib-0.99999/CHANGES.rst 2015-04-30 21:55:49.000000000 +0200
+++ new/html5lib-0.999999/CHANGES.rst 2015-07-07 03:59:29.000000000 +0200
@@ -1,6 +1,15 @@
Change Log
----------
+0.999999/1.0b7
+~~~~~~~~~~~~~~
+
+Released on July 7, 2015
+
+* Fix #189: fix the sanitizer to allow relative URLs again (as it did
+ prior to 0.9999/1.0b5).
+
+
0.99999/1.0b6
~~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html5lib-0.99999/PKG-INFO new/html5lib-0.999999/PKG-INFO
--- old/html5lib-0.99999/PKG-INFO 2015-04-30 22:00:05.000000000 +0200
+++ new/html5lib-0.999999/PKG-INFO 2015-07-07 03:59:36.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: html5lib
-Version: 0.99999
+Version: 0.999999
Summary: HTML parser based on the WHATWG HTML specification
Home-page: https://github.com/html5lib/html5lib-python
Author: James Graham
@@ -167,6 +167,15 @@
Change Log
----------
+ 0.999999/1.0b7
+ ~~~~~~~~~~~~~~
+
+ Released on July 7, 2015
+
+ * Fix #189: fix the sanitizer to allow relative URLs again (as it did
+ prior to 0.9999/1.0b5).
+
+
0.99999/1.0b6
~~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html5lib-0.99999/html5lib/__init__.py new/html5lib-0.999999/html5lib/__init__.py
--- old/html5lib-0.99999/html5lib/__init__.py 2015-04-30 22:00:02.000000000 +0200
+++ new/html5lib-0.999999/html5lib/__init__.py 2015-07-07 03:59:29.000000000 +0200
@@ -20,4 +20,6 @@
__all__ = ["HTMLParser", "parse", "parseFragment", "getTreeBuilder",
"getTreeWalker", "serialize"]
-__version__ = "0.99999"
+
+# this has to be at the top level, see how setup.py parses this
+__version__ = "0.999999"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html5lib-0.99999/html5lib/sanitizer.py new/html5lib-0.999999/html5lib/sanitizer.py
--- old/html5lib-0.99999/html5lib/sanitizer.py 2015-04-30 17:17:38.000000000 +0200
+++ new/html5lib-0.999999/html5lib/sanitizer.py 2015-07-07 03:59:29.000000000 +0200
@@ -208,7 +208,7 @@
# remove replacement characters from unescaped characters
val_unescaped = val_unescaped.replace("\ufffd", "")
uri = urlparse.urlparse(val_unescaped)
- if uri:
+ if uri and uri.scheme:
if uri.scheme not in self.allowed_protocols:
del attrs[attr]
if uri.scheme == 'data':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html5lib-0.99999/html5lib/tests/test_sanitizer.py new/html5lib-0.999999/html5lib/tests/test_sanitizer.py
--- old/html5lib-0.99999/html5lib/tests/test_sanitizer.py 2015-04-30 17:30:14.000000000 +0200
+++ new/html5lib-0.999999/html5lib/tests/test_sanitizer.py 2015-07-07 03:59:29.000000000 +0200
@@ -40,6 +40,10 @@
assert '