diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-15 07:51:09 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-15 07:51:09 +0000 |
commit | 08fd13d17c0e3f0de4403bd9b3280fe26fc75acb (patch) | |
tree | 29dc64a98c1e6509d402b7b576771dcb4eb59099 /actionpack/lib/action_controller/cgi_ext | |
parent | d99ed9bd6a90a01422bee43970930033efdab08d (diff) | |
download | rails-08fd13d17c0e3f0de4403bd9b3280fe26fc75acb.tar.gz rails-08fd13d17c0e3f0de4403bd9b3280fe26fc75acb.tar.bz2 rails-08fd13d17c0e3f0de4403bd9b3280fe26fc75acb.zip |
Handle cookie parsing irregularity for certain Nokia phones. Closes #2530.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/cgi_ext')
-rw-r--r-- | actionpack/lib/action_controller/cgi_ext/cookie_performance_fix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/cgi_ext/cookie_performance_fix.rb b/actionpack/lib/action_controller/cgi_ext/cookie_performance_fix.rb index d73cb0355f..59b9dda396 100644 --- a/actionpack/lib/action_controller/cgi_ext/cookie_performance_fix.rb +++ b/actionpack/lib/action_controller/cgi_ext/cookie_performance_fix.rb @@ -108,7 +108,7 @@ class CGI #:nodoc: cookies = Hash.new([]) if raw_cookie - raw_cookie.split(/; /).each do |pairs| + raw_cookie.split(/; ?/).each do |pairs| name, values = pairs.split('=',2) next unless name and values name = CGI::unescape(name) |