Made path work for lighttpd again as it uses an empty string where Apache returns nil

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 bc05cb18
...@@ -90,7 +90,7 @@ def ssl? ...@@ -90,7 +90,7 @@ def ssl?
end end
def path def path
path = path_info ? path_info : ( request_uri ? request_uri.split('?').first : '' ) (path_info && !path_info.empty?) ? path_info : (request_uri ? request_uri.split('?').first : '')
end end
def port def port
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册