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
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
compat.rb * lib/webrick/compat.rb: Improve documentation. Patch by Sandor 2011-05-17 20:29:58 +00:00
config.rb
cookie.rb * lib/webrick/cookie.rb (WEBrick::Cookie.parse): Revert r31228. 2011-06-20 06:48:40 +00:00
htmlutils.rb
httpauth.rb * lib/webrick: Add documentation for WEBrick::HTTPAuth 2011-05-10 23:37:43 +00:00
httpproxy.rb
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
httpservlet.rb
httpstatus.rb * lib/webrick/log.rb: Improve documentation of BasicLog and Log. 2011-06-16 21:12:00 +00:00
httputils.rb
httpversion.rb
log.rb * lib/webrick/log.rb: Improve documentation of BasicLog and Log. 2011-06-16 21:12:00 +00:00
server.rb
ssl.rb
utils.rb * lib/webrick/utils.rb: Document WEBrick::Utils. Patch by Olivier 2011-06-16 05:55:31 +00:00
version.rb