Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Log a warning when a CSRF error occurs #1200
So, this is a breaking change because it adds the
The current log message is the same as what's returned in the response body:
Include a stable URL that documents the issue perhaps? A lot people (myself included) use terminals that make it easy to open recognizable URLs.
Other than that, looks good. You're not adding this at the level where any provenance/cause is known, so this is as good as it's going to get for now. As long as the route/method will be proximal to this message, I'm fine with it.
@bitemyapp any suggestions for a stable URL? Ideally I'd link to this: http://haddock.stackage.org/lts-5.10/yesod-core-1.4.19/Yesod-Core-Handler.html#g:28 but I don't know of a way to get a stable link to it, besides hardcoding an specific version.