Repository navigation
HTTP 403 for invalid login - #1016
Conversation
FreshRSS#1015 And does not leak if user exists or not
There was a problem hiding this comment.
If there is no redirection ($redirect = false), rest of the code in the method is executed as well. Are you sure it does not cause more troubles?
There was a problem hiding this comment.
Ok, we need to return/exit after this line, then.
There was a problem hiding this comment.
This one was problematic indeed. I have added a return.
The other two below should be fine.
There was a problem hiding this comment.
Just realized: is this syntax valid with PHP 5.3?
There was a problem hiding this comment.
Well spotted. It is indeed first PHP 5.5 that added support for accessing characters within string literals using []...
http://php.net/manual/en/language.types.string.php
FreshRSS#1016 FreshRSS#1015 It is first PHP 5.5 that added support for accessing characters within string literals using []...
HTTP 403 for invalid login
#1015
And does not leak if user exists or not.
Must not use redirect to send status 403.