summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-09 11:37:03 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-09 11:37:03 +0000
commit8ce3fb87ee2246292ce1a6fd3430c056b0af685d (patch)
tree2cf323adb5ad5e281a25084883c0996ea4e714c0 /ChangeLog
parentdf13c3dc00384e6a802e2c8abdb83fe7a16d61e3 (diff)
downloadruby-8ce3fb87ee2246292ce1a6fd3430c056b0af685d.tar.gz
ruby-8ce3fb87ee2246292ce1a6fd3430c056b0af685d.tar.xz
ruby-8ce3fb87ee2246292ce1a6fd3430c056b0af685d.zip
* lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.
WEBrick::HTTPRequest#{host,port,request_uri} is derived having regards to X-Forwarded-Proto and X-Forwarded-Host. * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#server_name?): new method. (WEBrick::HTTPRequest#remote_ip?): new method. (WEBrick::HTTPRequest#ssl?): new method. * string.c (rb_enc_cr_str_buf_cat): fix self appending. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6dd3aa86f..94d5e0c5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Wed Jan 9 20:35:42 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
+
+ * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.
+ WEBrick::HTTPRequest#{host,port,request_uri} is derived having
+ regards to X-Forwarded-Proto and X-Forwarded-Host.
+
+ * lib/webrick/httprequest.rb
+ (WEBrick::HTTPRequest#server_name?): new method.
+ (WEBrick::HTTPRequest#remote_ip?): new method.
+ (WEBrick::HTTPRequest#ssl?): new method.
+
Wed Jan 9 18:24:39 2008 WATANABE Hirofumi <eban@ruby-lang.org>
* golf_prelude.rb (Array#to_s): alias to join.