1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/webrick
yugui 87d9bb7765 merges r32222 from trunk into ruby_1_9_2.
--
* lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request 
  header failed when the request is from 2 or more Apache reverse 
  proxies. It's said that all X-Forwarded-* headers will contain more
  than one (comma-separated) value if the original request already
  contained one of these headers.  Since we could use these values as
  Host header, we choose the initial(first) value. See #4922.

* test/webrick/test_httprequest.rb (test_forwarded): Test it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07 10:02:43 +00:00
..
httpauth * lib/webrick/httpauth/digestauth.rb: typo in exception message fixed. 2009-10-20 15:17:37 +00:00
httpservlet merge from trunk (r28354) 2010-06-21 16:34:42 +00:00
accesslog.rb * lib/webrick/accesslog.rb (WEBrick::AccessLog#format): fixed typo. 2010-01-11 04:30:37 +00:00
cgi.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
compat.rb
config.rb * lib/webrick/config.rb (WEBrick::Config): typo fixed. a patch 2009-12-19 08:01:19 +00:00
cookie.rb * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new 2006-09-08 01:04:52 +00:00
htmlutils.rb
httpauth.rb
httpproxy.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
httprequest.rb merges r32222 from trunk into ruby_1_9_2. 2011-08-07 10:02:43 +00:00
httpresponse.rb merge revision(s) 28997: 2010-08-16 03:41:12 +00:00
https.rb * lib/webrick/https.rb (parse_uri, meta_vars): suppress warnings. 2010-01-17 05:31:52 +00:00
httpserver.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
httpservlet.rb
httpstatus.rb * lib/webrick/accesslog.rb (WEBrick::AccessLog#format): fixed typo. 2010-01-11 04:30:37 +00:00
httputils.rb * lib/webrick/accesslog.rb : Escape needed. 2010-01-10 09:33:47 +00:00
httpversion.rb
log.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
server.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
ssl.rb * lib/webrick/https.rb (parse_uri, meta_vars): suppress warnings. 2010-01-17 05:31:52 +00:00
utils.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
version.rb