Open do3cc opened 8 years ago
Doesn't it give a 301 or 302 error, redirecting to @@confirm-action
?
https://github.com/plone/plone.protect/blob/master/plone/protect/auto.py#L243
This line checks if the response code is 301 or 302. Nowhere is the response code itself modified :-(
I was surprised that a cronjob never created error mails when he curled our site after we added plone protect.
Then I detected, that plone protect does NOT change the response code of a reply. My view sends out text, then finishes. The calling script has no way of knowing, that it didn't work.