maxcountryman / flask-seasurf

SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).
http://readthedocs.org/docs/flask-seasurf/
Other
190 stars 49 forks source link

Add skip_validation decorator to bypass CSRF validation programatically #84

Closed bjudson closed 5 years ago

bjudson commented 5 years ago

This allows controlling validation() calls without applying @exempt decorator to each endpoint. Useful when performing widespread manual validation (eg through a custom view decorator or before_request hook).

Happy to add documentation if this makes sense to merge.

bjudson commented 5 years ago

Those test failures confuse me, but they look the same/similar to the ones failing on master. FWIW all tests pass on my laptop running Python 3.6.

bjudson commented 5 years ago

Is anyone maintaining this project?

maxcountryman commented 5 years ago

Closing as tests aren’t passing.

bjudson commented 5 years ago

It appears that tests are failing on master.

https://travis-ci.org/maxcountryman/flask-seasurf/builds/432163366