aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Remove fixture files with Windows incompatible filenamesAndrew White2012-02-201-26/+88
| | | | | | Windows doesn't allow `\ / : * ? " < > |` in filenames so create the fixture files at runtime and ignore the incompatible ones when running on Windows.
* Fix ActionDispatch::Static to serve files with unencoded PCHARAndrew White2012-02-171-2/+26
| | | | | | | | | | | RFC 3986[1] allows sub-delim characters in path segments unencoded, however Rack::File requires them to be encoded so we use URI's unescape method to leave them alone and then escape them again. Also since the path gets passed to Dir[] we need to escape any glob characters in the path. [1]: http://www.ietf.org/rfc/rfc3986.txt
* escape static file path to prevent double unescapingSergey Nartimov2012-02-161-0/+4
|
* ActionDispatch: add missing test for callbacksBogdan Gusiev2012-02-161-2/+9
|
* fixing AP testsAaron Patterson2012-02-151-1/+1
|
* say goodbye to #with_test_routes :axe:Xavier Noria2012-02-101-1166/+947
|
* fixes a regression introduced by 532cd4, and a bogus test in AP the ↵Xavier Noria2012-02-101-6/+6
| | | | regression uncovered
* Fix GH #4720. Routing problem with nested namespace and already camelized ↵kennyj2012-02-101-0/+26
| | | | controller option.
* Fix failing request testCarlos Antonio da Silva2012-02-071-1/+1
| | | | | | | | Latest changes in remote ip handling conflicted with each other in tests. Related: dd09811fa6214a130fdc2de1d4c00b4337cb15f9 6a720226aad2adffcbd2422d40db772719579e2f
* Merge pull request #2490 from gsterndale/x_forwarded_for_orderJosé Valim2012-02-071-4/+4
|\ | | | | The first IP address in the X-Forwarded-For header is the originating IP
| * The first IP address in the X-Forwarded-For header is the originating IPGreg Sterndale2012-02-071-4/+4
| |
* | Merge pull request #2632 from gsterndale/replace_trusted_proxiesJosé Valim2012-02-071-2/+13
|\ \ | | | | | | Trusted proxies are configurable
| * | Trusted proxies is replaced with a Regexp or appended to with a StringGreg Sterndale2012-02-071-2/+13
| |/
* / Failing test case that shows issue #736 should still be open.Scott W. Bradley2012-02-061-0/+6
|/
* Fix url_for method's behavior when it is called with :controller option ↵kennyj2012-02-071-0/+33
| | | | | | which starts with "/" from multiple nested controller. Closes #3864
* Revert "Deprecated multi args to http route methods"Jeremy Kemper2012-02-051-2/+1
| | | | | | | | | | Too painful to lose the compact shorthand form! This reverts commit e848c52535fa0f9488cdbdb3f1cedc7c7c02d643. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb
* Add testcase for non english filename. Related to #2982.kennyj2012-02-051-1/+6
|
* Fix GH #4873. Allow swapping middleware of same classkennyj2012-02-041-0/+6
|
* Remove not used env[] call in routing_test. Carlos Antonio da Silva2012-01-271-1/+0
| | | The commit 4c321c6d42b6e35f9ead12eb1dccdead03c5abf4 removes the path_params variable assignment, actually the entire line is not used at all.
* Fix warning. assigned but unused variable - path_paramskennyj2012-01-281-1/+1
|
* Merge pull request #4658 from pwim/unicode-pathsAaron Patterson2012-01-251-0/+20
| | | | Test for unicode path support
* Deprecated multi args to http route methodsAaron Patterson2012-01-231-1/+2
|
* ActionDispatch::Cookies::CookieJar#deleted? predicate method.Paul Annesley2012-01-241-0/+11
| | | | | Necessary in controller tests to determine if the CookieJar will delete the given cookie.
* Removed unused assigns from ActionView::Template::Errorbrainopia2012-01-202-2/+2
| | | | | They existed since initial rails commit by DHH but lost use a long time ago
* Remove rescue_action from compatibility module and testsCarlos Antonio da Silva2012-01-173-6/+0
|
* Remove other old compatibility constantsCarlos Antonio da Silva2012-01-172-3/+3
|
* Stub ip method of alternative request classSam Pohlenz2012-01-141-0/+4
|
* Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-131-1/+12
| | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* Fix routing test to use assert_equalCarlos Antonio da Silva2012-01-061-2/+2
|
* AP tests should inherit from AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* Moved all the logger methods to active support loggerKarunakar (Ruby)2012-01-062-2/+2
| | | | minor
* Override respond_to? since we are also overriding method_missing.José Valim2012-01-031-0/+7
|
* remove ActiveSupport::Base64 in favor of ::Base64Sergey Nartimov2012-01-021-4/+4
|
* remove checks for encodings availabilitySergey Nartimov2011-12-251-1/+1
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-243-10/+3
|
* just use def setupAaron Patterson2011-12-211-1/+2
|
* removed warning "warning: ambiguous first argument; put parentheses or even ↵Arun Agrawal2011-12-211-1/+1
| | | | spaces"
* Merge pull request #4079 from drogus/http_digest_issueJosé Valim2011-12-211-0/+24
|\ | | | | Fix http digest authentication when url ends with `/` or `?`
| * Add original_fullpath and original_url methods to RequestPiotr Sarnacki2011-12-211-0/+24
| |
* | Using uuid which is supported in 1.9Arun Agrawal2011-12-211-1/+1
|/ | | Orignal commit #ada78066fdbccffb1da092a2470211fa252b3c99
* adding tests for #4029Aaron Patterson2011-12-191-1/+1
|
* Add test for register_aliasJustin Campbell2011-12-171-0/+9
|
* Add test for type aliasesJustin Campbell2011-12-171-0/+11
|
* Allow symbols to be passed for extension aliasesJustin Campbell2011-12-171-0/+11
|
* Do not raise an exception if an invalid route was generated automatically.José Valim2011-12-161-0/+1
|
* ShowExceptions should understand X-Cascade responses from exceptions app.José Valim2011-12-161-0/+11
|
* Improve the specs on exceptions app.José Valim2011-12-161-1/+14
|
* Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-161-1/+1
|
* Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-161-97/+1
|
* Warning removed "warning: (...) interpreted as grouped expression"Arun Agrawal2011-12-161-1/+1
|