aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/http_basic_authentication_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-21/+21
|
* modernizes hash syntax in actionpackXavier Noria2016-08-061-1/+1
|
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-30/+30
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Merge pull request #21181 from denisenkom/mypatchKasper Timm Hansen2016-01-101-0/+19
|\ | | | | Test basic auth with symbols in password
| * Test basic auth with symbols in login and passwordMikhail Denisenko2015-10-241-0/+19
| |
* | Fix typo in test desctiption [skip ci]Anton Davydov2016-01-041-1/+1
| |
* | Authorization scheme should be case insensitive. Fixes #21199Dennis Suratna2015-08-111-0/+8
|/
* Stop using deprecated `render :text` in testPrem Sichanugrist2015-07-171-4/+4
| | | | | | | | | This will silence deprecation warnings. Most of the test can be changed from `render :text` to render `:plain` or `render :body` right away. However, there are some tests that needed to be fixed by hand as they actually assert the default Content-Type returned from `render :body`.
* Remove `assigns` and `assert_template`.Guo Xiang Tan2015-05-301-2/+1
|
* Give authentication methods the ability to customize response message.Keenan Brock2015-05-031-3/+3
| | | | Digest allowed the messages. Add the same feature to basic and token
* Add test for HTTP basic authentication when no credential is given.Zhang Kai Yu2015-01-241-0/+7
|
* Check authentication scheme in Basic authtomykaira2013-07-071-0/+7
| | | | | | | | | | `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.
* update documentation and code to use _action callbacksFrancesco Rodriguez2012-12-071-3/+3
|
* cleanup, remove trailing whitespace within actionpackYves Senn2012-10-271-2/+2
|
* remove ActiveSupport::Base64 in favor of ::Base64Sergey Nartimov2012-01-021-1/+1
|
* Eliminate newlines in basic auth. fixes #2882Aaron Patterson2011-09-061-0/+8
|
* Added Base.http_basic_authenticate_with to do simple http basic ↵David Heinemeier Hansson2011-03-281-0/+16
| | | | authentication with a single class method call [DHH]
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-3/+3
| | | | 's/[ \t]*$//' -i {} \;)
* Fix HTTP basic authentication for long credentials [#2572 state:resolved]Jan Schwenzien2009-08-091-0/+25
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move basic auth test controller inside the test classPratik Naik2009-01-291-21/+21
|
* Improve HTTP Basic authentication testsPratik Naik2009-01-181-0/+88