Closed mauritsvanrees closed 8 years ago
I thought I had created a pull request already, but I was wrong. This is needed for https://github.com/plone/buildout.coredev/pull/176 and is tested there. Plone 4.3 only.
This does not add auto csrf protection. But it makes it easier to write code that works with both 2.x and 3.x. Put simply, it makes sure that trying to disable auto csrf protection on 2.x (which does not have it) does not fail.
@vangheem Do you see problems with this pull request, or the full pull request at https://github.com/plone/buildout.coredev/pull/176 ?
@mauritsvanrees this looks fine to me!
I thought I had created a pull request already, but I was wrong. This is needed for https://github.com/plone/buildout.coredev/pull/176 and is tested there. Plone 4.3 only.
This does not add auto csrf protection. But it makes it easier to write code that works with both 2.x and 3.x. Put simply, it makes sure that trying to disable auto csrf protection on 2.x (which does not have it) does not fail.