aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http/url.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary empty line José Valim2012-04-251-1/+0
|
* ActionDispatch::HTTP::Url#url_for refactor methodBogdan Gusiev2012-04-241-20/+26
| | | | | Separated right side url generation(before query string) from left side url generation(after query string)
* Optimize path helpers.José Valim2012-03-021-1/+3
|
* Delegate subdomain method to the URL module, removing duplicationCarlos Antonio da Silva2012-01-121-1/+1
|
* Simplify named host logic and missing host condition checkCarlos Antonio da Silva2012-01-121-2/+2
|
* Extract ip host regexp to a constantCarlos Antonio da Silva2012-01-121-1/+3
|
* Fix url_for options[:subdomain] to allow objects as valueschoonkeat2011-12-141-1/+1
| | | | * e.g. blog_url(subdomain: current_user) instead of blog_url(subdomain: current_user.to_param)
* Fix trouble using :subdomain in development environment when using ↵Bradford Folkens2011-11-081-1/+1
| | | | | | | | | | | | | | | | numeric addresses. See-also pull request #3561 from 3-1-stable Otherwise the following occurs: TypeError: can't convert nil into String /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/http/url.rb:75:in host_or_subdomain_and_domain' /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/http/url.rb:37:in url_for' /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/routing/url_for.rb:147:in test_subdomain_may_be_accepted_with_numeric_host' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in run' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/callbacks.rb:426:in send' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/callbacks.rb:81:in run'
* / is allowed in URI fragmentsJeremy Kemper2011-10-131-1/+1
|
* Clean up subdomain code a bit.José Valim2011-10-041-2/+2
|
* :subdomain can now be specified with a value of false in url_for, allowing ↵Kamil Sobieraj2011-10-041-3/+5
| | | | for subdomain(s) removal from the host during link generation. Closes #2025
* removing backwards compatibility moduleAaron Patterson2011-09-121-1/+1
|
* minor correction to the ActionDispatch::Http::URL subdomain docsJosh Kalderimis2011-05-041-1/+1
|
* Fix .subdomain regression.José Valim2011-05-041-1/+1
|
* 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