mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
do not use url alias internally
This commit is contained in:
parent
a6cf359fe6
commit
1463863e9c
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ module Sinatra
|
|||
|
||||
# According to RFC 2616 section 14.30, "the field value consists of a
|
||||
# single absolute URI"
|
||||
response['Location'] = url(uri, settings.absolute_redirects?, settings.prefixed_redirects?)
|
||||
response['Location'] = uri(uri, settings.absolute_redirects?, settings.prefixed_redirects?)
|
||||
halt(*args)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue