- 12 12月, 2012 1 次提交
-
-
由 Matt Venables 提交于
If env['RAW_POST_DATA'] is nil, #raw_post will attempt to set it to the result of #body (which will return env['rack.input'] if env['RAW_POST_DATA'] is nil). #raw_post will then attempt to rewind the result of another call to #body. Since env['RAW_POST_DATA'] has already been set, the result of #body is not env['rack.input'] anymore. This causes env['rack.input'] to never be rewound.
-
- 20 11月, 2012 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
Merge url for tests and add changelog entry for #8233.
-
由 tumayun 提交于
With a "params" argument, the following error is raised: undefined method `reject!` for "":String
-
由 Carlos Antonio da Silva 提交于
-
- 31 10月, 2012 2 次提交
-
-
由 Guillermo Iguaran 提交于
This reverts commit a8560fa3.
-
由 Angelo capilleri 提交于
If a unknown format is passed in a request, the methods html?, xml?, json? ...etc Nil Exception. This patch add a class NullMimeTypeObject, that is returned when request.format is unknown and it responds false to the methods that ends with '?'. It refers to #7837, not fixes because it's not considered a improvement not a bug.
-
- 26 10月, 2012 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 15 9月, 2012 1 次提交
-
-
由 Travis Warlick 提交于
This is a rebased version of #2520. Conflicts: actionpack/test/dispatch/request_test.rb
-
- 24 7月, 2012 1 次提交
-
-
由 Santiago Pastorino 提交于
Closes #7110 there's more work to do on rack-cache issue 69
-
- 21 5月, 2012 1 次提交
-
-
由 Andrew White 提交于
Currently Rack raises a TypeError when it encounters a malformed or ambiguous hash like `foo[]=bar&foo[4]=bar`. Rather than pass this through to the application this commit captures the exception and re-raises it using a new ActionController::BadRequest exception. The new ActionController::BadRequest exception returns a 400 error instead of the 500 error that would've been returned by the original TypeError. This allows exception notification libraries to ignore these errors if so desired. Closes #3051
-
- 25 4月, 2012 1 次提交
-
-
由 Alexey Gaziev 提交于
-
- 23 2月, 2012 1 次提交
-
-
由 David Lee 提交于
PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
-
- 08 2月, 2012 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
Latest changes in remote ip handling conflicted with each other in tests. Related: dd09811f 6a720226
-
由 Greg Sterndale 提交于
-
由 Greg Sterndale 提交于
-
- 21 12月, 2011 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 15 11月, 2011 1 次提交
-
-
由 Andre Arko 提交于
-
- 14 11月, 2011 1 次提交
-
-
由 Andre Arko 提交于
-
- 04 10月, 2011 1 次提交
-
-
由 Kamil Sobieraj 提交于
:subdomain can now be specified with a value of false in url_for, allowing for subdomain(s) removal from the host during link generation. Closes #2025
-
- 20 7月, 2011 1 次提交
-
-
由 ogeidix 提交于
An xhr request must have an "Accept" or "Content-type" header in order to be considered a request with valid_accept_header.
-
- 07 5月, 2011 1 次提交
-
-
由 David Lee 提交于
-
- 05 5月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 03 5月, 2011 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 11 3月, 2011 1 次提交
-
-
This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens. Signed-off-by: NXavier Noria <fxn@hashref.com>
-
- 08 2月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 30 11月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
The redirect routing method now allows for a hash of options which only changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method.
-
- 24 11月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 23 11月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
:subdomain, :domain and :tld_length options can now be used in url_for, allowing for easy manipulation of the host during link generation. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 11月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
Brought the domain method in AD http url inline with subdomain where @@tld_length is used by default. Also set the default value of @@tld_length to 1.
-
- 12 10月, 2010 1 次提交
-
-
由 Miles Egan 提交于
make sure request parameters are accessible after rack throws an exception parsing the query string [#3030 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 29 9月, 2010 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 27 9月, 2010 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 10 9月, 2010 1 次提交
-
-
由 Simon Jefford 提交于
-
- 03 9月, 2010 1 次提交
-
-
由 José Valim 提交于
Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b3.
-
- 02 9月, 2010 1 次提交
-
-
由 Łukasz Strzałkowski 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 20 8月, 2010 1 次提交
-
-
由 Andrew White 提交于
Don't add the standard https port when using redirect in routes.rb and ensure that request.scheme returns https when using a reverse proxy. [#5408 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-