Closed datakurre closed 6 years ago
Is this still a problem? How can we reproduce this?
plone.protect has had several releases lately, which may have fixed this. I have just released 3.0.16. See the versions list on the hotfix page: https://plone.org/products/plone-hotfix/releases/20151006
This was seen with Mosaic, when rendering a mosaic view. @vangheem @agitator ?
For the record, this hasn't change in plone.protect = 3.0.20
& plone4.csrffixes = 1.1
.
If response is a stream iterator with
text/html
content type plone.protect tries to parse it even its response.body is an empty string. (A special case with stream iterator responses.)Maybe plone.protect should check and not parse if not result (allow it to be empty string).