[Checkins] [zopefoundation/Zope] b6fa2a: Prevent Error in isHTML() (#577)
Jens Vagelpohl
noreply at github.com
Thu May 2 13:20:21 CEST 2019
Branch: refs/heads/issue_450
Home: https://github.com/zopefoundation/Zope
Commit: b6fa2ab19e9e5944343cad23dc9bc8d20baafe75
https://github.com/zopefoundation/Zope/commit/b6fa2ab19e9e5944343cad23dc9bc8d20baafe75
Author: Michael Howitz <mh at gocept.com>
Date: 2019-05-02 (Thu, 02 May 2019)
Changed paths:
M CHANGES.rst
M src/ZPublisher/HTTPResponse.py
M src/ZPublisher/tests/testHTTPResponse.py
Log Message:
-----------
Prevent Error in isHTML() (#577)
* Prevent Error in isHTML()
If the parameter cannot be decoded none of the following checkes can lead to `True`.
The last one even breaks on Python 3 because it tries to find a `text` in a `bytes` object.
* Add change log entry and test.
Commit: 1ff5e0735196235e1d6a192d916b7ba11f079add
https://github.com/zopefoundation/Zope/commit/1ff5e0735196235e1d6a192d916b7ba11f079add
Author: Jens Vagelpohl <jens at netz.ooo>
Date: 2019-05-02 (Thu, 02 May 2019)
Changed paths:
M CHANGES.rst
M src/ZPublisher/HTTPResponse.py
M src/ZPublisher/tests/testHTTPResponse.py
Log Message:
-----------
Merge branch 'master' into issue_450
Compare: https://github.com/zopefoundation/Zope/compare/7b7dda8a5ae5...1ff5e0735196
More information about the checkins
mailing list