Accepting request 305611 from home:benoit_monin:branches:devel:languages:python

- update to version 0.99999
- update project URL

OBS-URL: https://build.opensuse.org/request/show/305611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=10
This commit is contained in:
Jan Matejek 2015-05-07 11:58:59 +00:00 committed by Git OBS Bridge
parent d4087f7410
commit 0173384d60
4 changed files with 33 additions and 6 deletions

View File

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

3
html5lib-0.99999.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b0bc7e9f77bb2a8ace636a827d8fb6e2f0b53e20cf0cb5e3e5b970454f8370b
size 887806

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Wed May 6 15:02:06 UTC 2015 - benoit.monin@gmx.fr
- update to version 0.99999:
* Fix #188: fix the sanitizer to not throw an exception when
sanitizing bogus data URLs.
- additional changes from version 0.9999:
* Fix #153: Sanitizer fails to treat some attributes as URLs.
Despite how this sounds, this has no known security
implications. No known version of IE (5.5 to current), Firefox
(3 to current), Safari (6 to current), Chrome (1 to current),
or Opera (12 to current) will run any script provided in these
attributes.
* Pass error message to the ParseError exception in strict
parsing mode.
* Allow data URIs in the sanitizer, with a whitelist of
content-types.
* Add support for Python implementations that dont support lone
surrogates (read: Jython). Fixes #2.
* Remove localization of error messages. This functionality was
totally unused (and untested that everything was localizable),
so we may as well follow numerous browsers in not supporting
translating technical strings.
* Expose treewalkers.pprint as a public API.
* Add a documentEncoding property to HTML5Parser, fix #121.
- update project URL
-------------------------------------------------------------------
Mon May 26 22:01:47 UTC 2014 - hpj@urpla.net

View File

@ -1,7 +1,7 @@
#
# spec file for package python-html5lib
#
# 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
@ -17,12 +17,12 @@
Name: python-html5lib
Version: 0.999
Version: 0.99999
Release: 0
Summary: HTML parser based on the WHAT-WG Web Applications 1
License: MIT
Group: Development/Languages/Python
Url: http://code.google.com/p/html5lib/
Url: https://github.com/html5lib/html5lib-python
Source: http://pypi.python.org/packages/source/h/html5lib/html5lib-%{version}.tar.gz
BuildRequires: python-Genshi
BuildRequires: python-devel