tomykaira
a7a377ff39
Check authentication scheme in Basic auth
...
`authenticate_with_http_basic` and its families should check the authentication
schema is "Basic".
Different schema, such as OAuth2 Bearer should be rejected by basic auth, but
it was passing as the test shows.
This fixes #10257 .
2013-07-07 22:39:16 +09:00
Francesco Rodriguez
a53a7bea80
update documentation and code to use _action callbacks
2012-12-07 14:46:06 -05:00
Yves Senn
4d7f53379a
cleanup, remove trailing whitespace within actionpack
2012-10-27 16:03:18 +02:00
Sergey Nartimov
0f2f8003d2
remove ActiveSupport::Base64 in favor of ::Base64
2012-01-02 22:48:15 +03:00
Aaron Patterson
f6ced69a11
Eliminate newlines in basic auth. fixes #2882
2011-09-06 17:25:20 -07:00
David Heinemeier Hansson
e2b07ee000
Added Base.http_basic_authenticate_with to do simple http basic authentication with a single class method call [DHH]
2011-03-28 18:10:08 -07:00
Santiago Pastorino
b451de0d6d
Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;)
2010-08-14 04:12:33 -03:00
Jan Schwenzien
1f6afe4a74
Fix HTTP basic authentication for long credentials [ #2572 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-08-09 01:28:43 +01:00
Pratik Naik
a1a9889b06
Move basic auth test controller inside the test class
2009-01-29 01:59:55 +00:00
Pratik Naik
68fdfde003
Improve HTTP Basic authentication tests
2009-01-18 19:21:34 +00:00