Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a test in Py2.lxml-4.6.5lxml-4.6 | Stefan Behnel | 2021-12-12 | 1 | -1/+6 |
| | |||||
* | Prepare release of 4.6.5. | Stefan Behnel | 2021-12-12 | 1 | -1/+1 |
| | |||||
* | Cleaner: cover some more cases where scripts could sneak through in ↵ | Stefan Behnel | 2021-12-11 | 2 | -12/+73 |
| | | | | specially crafted style content. | ||||
* | Fix condition in test decorator. | Stefan Behnel | 2021-12-10 | 1 | -1/+1 |
| | |||||
* | Exclude a test when using the macOS system libraries because it fails with ↵ | Stefan Behnel | 2021-12-10 | 3 | -3/+12 |
| | | | | libxml2 2.9.4. | ||||
* | Cleaner: Remove SVG image data URLs since they can embed script content. | Stefan Behnel | 2021-11-11 | 2 | -8/+60 |
| | | | | Reported as GHSL-2021-1038 | ||||
* | Cleaner: Prevent "@import" from re-occurring in the CSS after replacements, ↵ | Stefan Behnel | 2021-11-11 | 2 | -0/+22 |
| | | | | | | e.g. "@@importimport". Reported as GHSL-2021-1037 | ||||
* | Prepare release of 4.6.4. | Stefan Behnel | 2021-10-15 | 1 | -1/+1 |
| | |||||
* | Implement "__rXXX__" special methods in objectify elements to support proper ↵ | Stefan Behnel | 2021-07-16 | 1 | -12/+87 |
| | | | | Python semantics in Cython 3. | ||||
* | Avoid direct C-API call. | Stefan Behnel | 2021-05-19 | 1 | -2/+1 |
| | |||||
* | Adapt a test to a behavioural change in libxml2 2.9.11+. | Stefan Behnel | 2021-05-19 | 1 | -1/+4 |
| | |||||
* | Clean up fuzzer test. | Stefan Behnel | 2021-05-08 | 1 | -1/+3 |
| | |||||
* | Add initial Atheris fuzzer. (GH-313) | DavidKorczynski | 2021-05-08 | 1 | -0/+23 |
| | |||||
* | Enable access to the system_url of DTD entity declarations (GH-317) | Joel | 2021-05-08 | 2 | -0/+13 |
| | |||||
* | Prepare release of lxml 4.6.3.lxml-4.6.3 | Stefan Behnel | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | Add HTML-5 "formaction" attribute to "defs.link_attrs" (GH-316) | Kevin Chung | 2021-03-21 | 2 | -0/+17 |
| | | | | Resolves https://bugs.launchpad.net/lxml/+bug/1888153 See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28957 | ||||
* | Work around Py2's lack of "re.ASCII".lxml-4.6.2 | Stefan Behnel | 2020-11-26 | 1 | -2/+4 |
| | |||||
* | Prepare release of 4.6.2. | Stefan Behnel | 2020-11-26 | 1 | -1/+1 |
| | |||||
* | Prevent combinations of <math/svg> and <style> to sneak JavaScript through ↵ | Stefan Behnel | 2020-11-26 | 3 | -11/+39 |
| | | | | the HTML cleaner. | ||||
* | Prepare release of lxml 4.6.1.lxml-4.6.1 | Stefan Behnel | 2020-10-18 | 1 | -1/+1 |
| | |||||
* | Prevent combinations of <noscript> and <style> to sneak JavaScript through ↵ | Stefan Behnel | 2020-10-18 | 2 | -0/+13 |
| | | | | the HTML cleaner. | ||||
* | Prepare release of lxml 4.6.0. | Stefan Behnel | 2020-10-17 | 1 | -1/+1 |
| | |||||
* | Exclude a test in Py 3.9.0 due to ET bug https://bugs.python.org/issue41900 | Stefan Behnel | 2020-10-15 | 1 | -0/+12 |
| | |||||
* | Disable test in unfixed ET versions <= 3.8.6. | Stefan Behnel | 2020-10-01 | 1 | -0/+4 |
| | |||||
* | LP#1869455: C14N 2.0 serialisation failed for unprefixed attributes when a ↵ | Stefan Behnel | 2020-10-01 | 2 | -1/+14 |
| | | | | default namespace was defined. | ||||
* | Remove dead imports. | Stefan Behnel | 2020-08-13 | 2 | -2/+2 |
| | |||||
* | Remove dead code. | Stefan Behnel | 2020-08-13 | 1 | -9/+0 |
| | |||||
* | Disable gc.collect() calls after each test run since there haven't been ↵ | Stefan Behnel | 2020-08-13 | 1 | -1/+10 |
| | | | | proxy crashes for a very long time now and it considerably slows down the test runs (~factor 6). | ||||
* | Remove dead code. | Stefan Behnel | 2020-08-13 | 1 | -1/+1 |
| | |||||
* | html: Add InputGetter.items() method and make .keys() return the field names ↵ | Stefan Behnel | 2020-08-12 | 2 | -8/+47 |
| | | | | in document order. | ||||
* | html: Avoid XPath in InputGetter where fast and simple iteration is enough. | Stefan Behnel | 2020-08-12 | 1 | -20/+19 |
| | |||||
* | html: Simplify and speed up InputGetter.__iter__() and __len__(). | Stefan Behnel | 2020-08-12 | 1 | -6/+3 |
| | |||||
* | Implement __len__() on InputGetter which is expected by ↵ | AidanWoolley | 2020-08-12 | 1 | -0/+3 |
| | | | | FormElement/FieldsDict (GH-310) | ||||
* | Use sphinx-apidoc to create API reference (GH-309) | Chris Mayo | 2020-08-04 | 6 | -98/+102 |
| | | | | | | | | | | | | | * Add some missing files to .gitignore * Remove duplicate open_in_browser from lxml.html.__all__ * Make ETreeXMLSchemaTestCase docstring Sphinx autodoc friendly * Fix outdated codespeak.net links in docstrings * Convert html/defs.py comment to be the module docstring * Use sphinx-apidoc to create the API reference instead of epydoc Epydoc is Python 2 only and unmaintained. sphinx-apidoc is run before the build step, to avoid duplicate entries being created. * Include the elements from html.builder in the API reference * Use Python 3.8 for coverage Travis job * Build html documentation in Travis | ||||
* | Fix an import in Py3. | Stefan Behnel | 2020-08-04 | 1 | -1/+1 |
| | |||||
* | Remove dead code. | Stefan Behnel | 2020-08-03 | 1 | -1/+0 |
| | |||||
* | Raise XMLSyntaxError instead of plain AssertionError when calling ↵ | Stefan Behnel | 2020-07-28 | 1 | -3/+15 |
| | | | | | | TreeBuilder.close() in an inconsistent state. Uses a subclass XMLSyntaxAssertionError that also inherits from AssertionError to keep up backwards compatibility. | ||||
* | Prepare release of 4.5.2.lxml-4.5.2 | Stefan Behnel | 2020-07-09 | 1 | -1/+1 |
| | |||||
* | Cleaner: Catch bad arg combo in constructor (GH-301) | Mike Lissner | 2020-06-20 | 2 | -0/+21 |
| | | | Fixes https://bugs.launchpad.net/lxml/+bug/1882606 | ||||
* | Improve compilation of clean.py (e.g. dict iteration) by switching to ↵ | Stefan Behnel | 2020-06-19 | 1 | -1/+1 |
| | | | | language_level=3str. | ||||
* | Avoid calling hasattr when we need the attribute anyway, and validate the ↵ | Stefan Behnel | 2020-06-19 | 1 | -4/+10 |
| | | | | argument names passed into Cleaner() along the way. | ||||
* | Extend C14N2 tests to cover comment handling and "strip_text" together. | Stefan Behnel | 2020-06-14 | 1 | -16/+21 |
| | |||||
* | LP#1882606: ``Cleaner.clean_html()`` discarded comments and PIs regardless ↵ | Stefan Behnel | 2020-06-13 | 3 | -4/+49 |
| | | | | of the corresponding configuration option, if "remove_unknown_tags=True" was set. | ||||
* | Use a bound method instead of looking it up on each element. | Stefan Behnel | 2020-06-13 | 1 | -2/+2 |
| | |||||
* | Fix a test after moving it to a different test module. | Stefan Behnel | 2020-05-26 | 1 | -2/+2 |
| | |||||
* | Move some ElementTree compatibility tests over to the etree-only tests since ↵ | Stefan Behnel | 2020-05-26 | 2 | -248/+252 |
| | | | | the features were removed in Py3.9. | ||||
* | Avoid globally overriding the libxml2 external entity resolver and instead ↵ | Stefan Behnel | 2020-05-23 | 7 | -11/+51 |
| | | | | | | set it for each parser run. This improves the interoperability with other users of libxml2 in the system, such as libxmlsec. | ||||
* | Prepare release of 4.5.1.lxml-4.5.1 | Stefan Behnel | 2020-05-19 | 1 | -1/+1 |
| | |||||
* | Make it less likely that the serialisation of large documents (> MAX_INT) is ↵ | Stefan Behnel | 2020-05-11 | 2 | -4/+6 |
| | | | | considered a failure due to C integer wrap-around. | ||||
* | Make iter() work with qnames (GH-298) | xmo-odoo | 2020-03-03 | 2 | -0/+26 |
| | | | | | "QName" is supposed to be usable anywhere a tag name is expected and iter() should take any number of tag names for filtering, but before this change passing a QName to iter() results in an exception. |