aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http/url.rb
Commit message (Collapse)AuthorAgeFilesLines
* Filter params that return nil for to_param and allow through false valuesAndrew White2011-03-091-1/+1
|
* Protocol-relative URL support.Stephen Celis2011-02-021-2/+5
| | | | | | [#5774 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Wrap everything in class << self.José Valim2010-12-031-42/+37
|
* The redirect routing method now allows for a hash of options which only ↵Josh Kalderimis2010-11-301-0/+52
| | | | 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.
* port_string bought back to life as it is part of the public apiJosh Kalderimis2010-11-241-3/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* :subdomain, :domain and :tld_length options can now be used in url_for, ↵Josh Kalderimis2010-11-231-20/+39
| | | | | | allowing for easy manipulation of the host during link generation. Signed-off-by: José Valim <jose.valim@gmail.com>
* Brought the domain method in AD http url inline with subdomain where ↵Josh Kalderimis2010-11-161-1/+2
| | | | @@tld_length is used by default. Also set the default value of @@tld_length to 1.
* Fix loop introduced by rack:dda892dJeremy Kemper2010-10-261-6/+1
|
* Rely on Rack::Session stores API for more compatibility across the Ruby world.José Valim2010-10-031-5/+0
|
* Cache 2 of Request's commonly called methods.thedarkone2010-09-271-2/+2
|
* Add configuration option for tld lengthSimon Jefford2010-09-091-4/+6
|
* Cleanup deprecations in Action DispatchCarlos Antonio da Silva2010-09-061-8/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* escape constants that should not be linked toJoost Baaij2010-08-271-2/+2
|
* Don't add the standard https port when using redirect in routes.rb and ↵Andrew White2010-08-201-0/+10
| | | | | | | | ensure that request.scheme returns https when using a reverse proxy. [#5408 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add caller to request_uri deprecation noticeCarlhuda2010-03-031-1/+1
|
* ActionDispatch::Request deprecates #request_uriCarl Lerche2010-03-031-10/+3
| | | | * Refactored ActionPatch to use fullpath instead
* Rack::Request actually defines #query_stringCarl Lerche2010-03-031-5/+0
|
* Tweak the semantic of various URL related methods of ActionDispatch::RequestCarlhuda2010-03-031-25/+6
|
* Request#subdomain returns a string version of Request#subdomainsJoshua Peek2010-02-281-0/+4
|
* Split ActionDispatch http in smaller chunks.José Valim2010-01-161-0/+129