Closed alanhamlett closed 8 years ago
Fixes #46.
Adds a new Flask app config CSRF_CHECK_REFERER which defaults to True.
CSRF_CHECK_REFERER
True
Adds one new test for CSRF_CHECK_REFERER set to False to make sure a request succeeds when the Referer header is invalid.
False
Very nice!
Fixes #46.
Adds a new Flask app config
CSRF_CHECK_REFERER
which defaults toTrue
.Adds one new test for
CSRF_CHECK_REFERER
set toFalse
to make sure a request succeeds when the Referer header is invalid.