Project

General

Profile

Actions

Backport #7997

closed

undefined method `unescape' for CGI:Class

Added by nelsnelson (Nels Nelson) about 11 years ago. Updated almost 11 years ago.


Description

$ ruby2.0 -v ./test.rb "_my_app_session_id=e6fafc122f84c2755310d712e5a19320; domain=.my.app.unknown.com; path=/; HttpOnly"
ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.2.0]
Parsing cookie string: _my_app_session_id=e6fafc122f84c2755310d712e5a19320; domain=.my.app.unknown.com; path=/; HttpOnly
/usr/local/lib/ruby/2.0.0/cgi/cookie.rb:151:in block in parse': undefined method unescape' for CGI:Class (NoMethodError)
from /usr/local/lib/ruby/2.0.0/cgi/cookie.rb:148:in each' from /usr/local/lib/ruby/2.0.0/cgi/cookie.rb:148:in parse'
from ./test.rb:7:in `'


Files

test.rb (140 Bytes) test.rb Source code for demonstration example nelsnelson (Nels Nelson), 03/02/2013 03:21 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0