Project

General

Profile

« Previous | Next » 

Revision 15e7e472

Added by Hiroshi Nakamura over 14 years ago

  • lib/webrick/cookie.rb (WEBrick::Cookie.parse): Revert r31228.
    r31228 was for allowing the 'Cookie:' header which did not have no
    SP after ';' for separating cookie-pairs but RFC6265 requires single
    SP after ';' there. We allow multiple SPs here for compatibility
    with older WEBrick version.

  • test/webrick/test_cookie.rb: Test it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e