diff options
Diffstat (limited to 'lib/cgi')
-rw-r--r-- | lib/cgi/cookie.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cgi/cookie.rb b/lib/cgi/cookie.rb index 513bd40989..97a92efc3a 100644 --- a/lib/cgi/cookie.rb +++ b/lib/cgi/cookie.rb @@ -54,6 +54,8 @@ class CGI # # These keywords correspond to attributes of the cookie object. def initialize(name = "", *value) + @domain = nil + @expires = nil if name.kind_of?(String) @name = name %r|^(.*/)|.match(ENV["SCRIPT_NAME"]) |