Skip to content

Commit

Permalink
[fc] Repository: plone.protect
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2018-01-12T00:28:44+01:00
Author: Harald Friessnegger (frisi) <harald@webmeisterei.com>
Commit: plone/plone.protect@bd39399

do not log a warning for empty responses

if a text/html response does not contain any data (eg empty page for an ajax request)
we do not log a warning that no csrf token could be added

this fixes #15

Files changed:
M CHANGES.rst
M plone/protect/auto.py
M plone/protect/tests/testAuto.py
Repository: plone.protect

Branch: refs/heads/master
Date: 2018-01-15T14:56:38+01:00
Author: Harald Friessnegger (frisi) <harald@webmeisterei.com>
Commit: plone/plone.protect@6c314bd

simplify condition

Files changed:
M plone/protect/auto.py
Repository: plone.protect

Branch: refs/heads/master
Date: 2018-01-15T18:35:37+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.protect@ad4456d

Merge pull request #69 from plone/no-warning-when-empty

do not log a warning for empty responses

Files changed:
M CHANGES.rst
M plone/protect/auto.py
M plone/protect/tests/testAuto.py
  • Loading branch information
mauritsvanrees committed Jan 15, 2018
1 parent 920c057 commit da3e135
Showing 1 changed file with 194 additions and 575 deletions.
Loading

0 comments on commit da3e135

Please sign in to comment.