|
|
|
|
|
by jasonkeene
5198 days ago
|
|
Humm.. I'm thinking you could write a middleware that checks for Referer over https and if not set, go ahead and set it to https://yourdomain.com That would allow you to continue to use CSRF middleware for the nonce check (just make sure yours is before theirs). |
|
See http://blog.kotowicz.net/2011/10/stripping-referrer-for-fun-... for examples