Repository navigation
Warn only on GET requests for a login path - #1041
Conversation
7a5605d to
b72a8db
Compare
|
There is a couple of failed jruby builds, and I actually don't know, what can I do about them. They fail yet on the ruby setup, my code isn't involved, I could guess |
BobbyMcWho
left a comment
There was a problem hiding this comment.
Sorry for the delay on this, was there something that you found during testing that made on_request_path? a better choice than on_auth_path?. I'd lean towards using the latter if not
|
@BobbyMcWho no particular research was made on this matter. Reason for choosing |
I think we will want to log on the callback path as well, so I'd prefer the |
|
@BobbyMcWho but original CVE states, that request path is vulnerable to CSRF attacks, it says nothing about callbacks. Besides that, correct me, if I'm wrong, but GET-request is acceptable for callback URI, since user is redirected there? |
|
This has been released in v2.0.4 |
|
Thanks @BobbyMcWho! Really appreciated such a quick feedback |
This is a fix for warning logging brought up in #1010 (comment)
The problem is that currently warning message is logged on every GET request, not only for a login path. Such messages can bloat application logs very fast
Also, it contradicts this particular piece of documentation (source):