Zope-publisher

Latest version: v4.3.2

Safety actively analyzes 688587 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

5.0

================

- Backwards incompatible change: Remove ``zope.publisher.tests.httprequest``.
It is not used inside this package and was never ported to Python 3.
Fixes https://github.com/zopefoundation/zope.publisher/issues/4.

- Add support for PyPy3.

- Drop support for Python 3.3.

- Fix ``XMLRPCResponse`` having a str body (instead of a bytes body)
which could lead to ``TypeError`` on Python 3. See `issue 26
<https://github.com/zopefoundation/zope.publisher/issues/26>`_.

4.3.2

==================

- Fix instances of ``BaseRequest`` (including ``BrowserRequest``)
being unexpectedly ``False`` on Python 3 by defining ``__bool__``.
Such instances were always ``True`` on Python 2. See `issue 18
<https://github.com/zopefoundation/zope.publisher/issues/18>`_.

4.3.1

==================

- Add support for Python 3.6.

- Accept both new and old locations for ``__code__`` in
``zope.publisher.publisher.unwrapMethod``. This restores compatibility with
Products.PythonScripts, where parameters were not extracted.
[maurits, thet, MatthewWilkes]

- Fix file uploads on python 3.4 and up. cgi.FieldStorage explicitly
closes files when it is garbage collected. For details, see:

* http://bugs.python.org/issue18394
* https://hg.python.org/cpython/rev/c0e9ba7b26d5
* https://github.com/zopefoundation/zope.publisher/pull/13

We now keep a reference to the FieldStorage till we are finished
processing the request.

- Fix POST with large values on Python 3. Related to cgi.FieldStorage
doing the decoding in Python 3. See `pull 16
<https://github.com/zopefoundation/zope.publisher/pull/16>`_.

4.3.0

==================

- Add support for Python 3.5.

- Drop support for Python 2.6 and 3.2.

4.2.2

==================

- Emit HTTP response headers in a deterministic order (GH 8).

4.2.1

==================

- Add support for Python 3.2.

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.