* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
mistook to merge the patch of [ruby-dev:26235] at revision 1.11. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f41e9c805c
commit
e3fa33da38
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 11 02:50:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
|
||||||
|
mistook to merge the patch of [ruby-dev:26235] at
|
||||||
|
revision 1.11.
|
||||||
|
|
||||||
Sun Jul 10 23:58:04 2005 Tanaka Akira <akr@m17n.org>
|
Sun Jul 10 23:58:04 2005 Tanaka Akira <akr@m17n.org>
|
||||||
|
|
||||||
* lib/pathname.rb (Pathname#unlink): try Dir.unlink first to
|
* lib/pathname.rb (Pathname#unlink): try Dir.unlink first to
|
||||||
|
@ -148,9 +148,9 @@ module WEBrick
|
|||||||
|
|
||||||
def request_line
|
def request_line
|
||||||
meth = @env["REQUEST_METHOD"] || "GET"
|
meth = @env["REQUEST_METHOD"] || "GET"
|
||||||
url = (@env["SCRIPT_NAME"] || File.expand_path($0)).dup
|
|
||||||
url << @env["PATH_INFO"].to_s
|
|
||||||
unless url = @env["REQUEST_URI"]
|
unless url = @env["REQUEST_URI"]
|
||||||
|
url = (@env["SCRIPT_NAME"] || File.expand_path($0)).dup
|
||||||
|
url << @env["PATH_INFO"].to_s
|
||||||
url = WEBrick::HTTPUtils.escape_path(url)
|
url = WEBrick::HTTPUtils.escape_path(url)
|
||||||
if query_string = @env["QUERY_STRING"]
|
if query_string = @env["QUERY_STRING"]
|
||||||
unless query_string.empty?
|
unless query_string.empty?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user