1
0
Fork 0
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:
Konstantin Haase 2011-03-21 11:31:50 +01:00
parent a6cf359fe6
commit 1463863e9c

View file

@ -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