mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
-- * 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 |
||
|---|---|---|
| .. | ||
| httpauth | ||
| httpservlet | ||
| accesslog.rb | ||
| cgi.rb | ||
| compat.rb | ||
| config.rb | ||
| cookie.rb | ||
| htmlutils.rb | ||
| httpauth.rb | ||
| httpproxy.rb | ||
| httprequest.rb | ||
| httpresponse.rb | ||
| https.rb | ||
| httpserver.rb | ||
| httpservlet.rb | ||
| httpstatus.rb | ||
| httputils.rb | ||
| httpversion.rb | ||
| log.rb | ||
| server.rb | ||
| ssl.rb | ||
| utils.rb | ||
| version.rb | ||