mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):
should check if path_info is not nil. [webrickja:126] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d9d60e8c12
commit
e7a1207dcd
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 22 10:36:37 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):
|
||||
should check if path_info is not nil.
|
||||
|
||||
Fri Oct 22 00:22:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ext/zlib/zlib.c (zstream_shift_buffer): should restore class
|
||||
|
|
|
@ -192,7 +192,7 @@ module WEBrick
|
|||
meta["CONTENT_LENGTH"] = cl if cl.to_i > 0
|
||||
meta["CONTENT_TYPE"] = ct.dup if ct
|
||||
meta["GATEWAY_INTERFACE"] = "CGI/1.1"
|
||||
meta["PATH_INFO"] = @path_info.dup
|
||||
meta["PATH_INFO"] = @path_info ? @path_info.dup : ""
|
||||
#meta["PATH_TRANSLATED"] = nil # no plan to be provided
|
||||
meta["QUERY_STRING"] = @query_string ? @query_string.dup : ""
|
||||
meta["REMOTE_ADDR"] = @peeraddr[3]
|
||||
|
|
Loading…
Reference in a new issue