Closed jpvanhal closed 12 years ago
SeaSurf tried to read HTTP referer information from "HTTP_REFERER" header, whereas in Flask the header is called just "Referer".
I also added a couple of tests for testing good and bad referers, and fixed a bug in _same_origin() introduced during the PEP8 error cleanup.
_same_origin()
Love this! Thank you.
SeaSurf tried to read HTTP referer information from "HTTP_REFERER" header, whereas in Flask the header is called just "Referer".
I also added a couple of tests for testing good and bad referers, and fixed a bug in
_same_origin()
introduced during the PEP8 error cleanup.