diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-08 20:13:15 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-08 20:13:15 +0000 |
| commit | 26a9489a602c92289fb2543c3b13452fe66ae85e (patch) | |
| tree | eafdb05a723c6094cb966b891333b65c7c61c911 | |
| parent | 9f0ad87f9a5bf6281ae7632450f983d5bbd3f026 (diff) | |
| download | ruby-26a9489a602c92289fb2543c3b13452fe66ae85e.tar.gz ruby-26a9489a602c92289fb2543c3b13452fe66ae85e.tar.xz ruby-26a9489a602c92289fb2543c3b13452fe66ae85e.zip | |
meta_vars should be String.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | lib/webrick/httprequest.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httprequest.rb b/lib/webrick/httprequest.rb index 2b9f3f2f4..a25c9933c 100644 --- a/lib/webrick/httprequest.rb +++ b/lib/webrick/httprequest.rb @@ -185,7 +185,7 @@ module WEBrick meta["REQUEST_URI"] = @request_uri.to_s meta["SCRIPT_NAME"] = @script_name.dup meta["SERVER_NAME"] = @host - meta["SERVER_PORT"] = @port + meta["SERVER_PORT"] = @port.to_s meta["SERVER_PROTOCOL"] = "HTTP/" + @config[:HTTPVersion].to_s meta["SERVER_SOFTWARE"] = @config[:ServerSoftware].dup |
