ruby/lib/webrick
nahi 635d13a8b7 * 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/trunk@32222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-24 11:05:59 +00:00
..
httpauth * lib/csv.rb: fix a typo. 2011-05-11 10:22:16 +00:00
httpservlet * lib/webrick/httpservlet/erbhandler.rb: Allow the ERB document to 2011-06-16 05:37:31 +00:00
accesslog.rb * lib/webrick/accesslog.rb: Cosmetic fix of mismatched indentation. 2011-06-23 07:22:37 +00:00
cgi.rb * lib/*.rb: Remove unused variable warnings. 2010-11-08 20:59:01 +00:00
compat.rb * lib/webrick/compat.rb: Improve documentation. Patch by Sandor 2011-05-17 20:29:58 +00:00
config.rb Add documentation for WEBrick's DigestAuth 2010-09-11 06:21:51 +00:00
cookie.rb * lib/webrick/cookie.rb (WEBrick::Cookie.parse): Revert r31228. 2011-06-20 06:48:40 +00:00
htmlutils.rb * lib/webrick: Add Documentation 2011-05-10 00:13:58 +00:00
httpauth.rb * lib/webrick: Add documentation for WEBrick::HTTPAuth 2011-05-10 23:37:43 +00:00
httpproxy.rb * lib/webrick: Add Documentation 2011-05-10 00:13:58 +00:00
httprequest.rb * lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request 2011-06-24 11:05:59 +00:00
httpresponse.rb * lib/webrick/httpresponse.rb (HTTPResponse#setup_header): Close 2011-06-21 12:58:37 +00:00
https.rb * lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri): 2011-05-29 14:14:38 +00:00
httpserver.rb * lib/webrick: Add Documentation 2011-05-10 00:13:58 +00:00
httpservlet.rb
httpstatus.rb * lib/webrick/log.rb: Improve documentation of BasicLog and Log. 2011-06-16 21:12:00 +00:00
httputils.rb * lib/webrick/accesslog.rb : Escape needed. 2010-01-10 09:33:47 +00:00
httpversion.rb * lib/webrick/log.rb: Hide copyright info from ri 2011-05-09 19:22:41 +00:00
log.rb * lib/webrick/log.rb: Improve documentation of BasicLog and Log. 2011-06-16 21:12:00 +00:00
server.rb * lib/webrick: Add Documentation 2011-05-10 00:13:58 +00:00
ssl.rb * lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert): 2010-07-30 23:26:53 +00:00
utils.rb * lib/webrick/utils.rb: Document WEBrick::Utils. Patch by Olivier 2011-06-16 05:55:31 +00:00
version.rb * lib/webrick/log.rb: Hide copyright info from ri 2011-05-09 19:22:41 +00:00