[ruby-cvs:62648] nobu:r55484 (trunk): Multiple values X-Forwarded-Proto in webrick

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jun 21 19:32:26 JST 2016


nobu	2016-06-21 19:32:26 +0900 (Tue, 21 Jun 2016)

  New Revision: 55484

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55484

  Log:
    Multiple values X-Forwarded-Proto in webrick
    
    * lib/webrick/httprequest.rb (setup_forwarded_info): Use the first
      value in X-Forwarded-Proto, if header contains multiple comma
      separated values.  Some middlewares may add these values to the
      list, not replacing.  [Fix GH-1386]

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/httprequest.rb
    trunk/test/webrick/test_httprequest.rb


More information about the ruby-cvs mailing list