mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Rack::Request actually defines #query_string
This commit is contained in:
@@ -85,11 +85,6 @@ module ActionDispatch
|
||||
subdomains(tld_length).join('.')
|
||||
end
|
||||
|
||||
# The query string must always be present
|
||||
def query_string
|
||||
@env['QUERY_STRING']
|
||||
end
|
||||
|
||||
# Returns the request URI, accounting for server idiosyncrasies.
|
||||
# WEBrick includes the full URL. IIS leaves REQUEST_URI blank.
|
||||
def request_uri
|
||||
|
||||
Reference in New Issue
Block a user