aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/integration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb
index f8e9c36fd0..26f6126120 100644
--- a/actionpack/lib/action_controller/integration.rb
+++ b/actionpack/lib/action_controller/integration.rb
@@ -288,7 +288,7 @@ module ActionController
end
(@headers['set-cookie'] || [] ).each do |string|
- name, value = string.match(/^(.*?)=(.*?);/)[1,2]
+ name, value = string.match(/^([^=]*)=([^;]*);/)[1,2]
@cookies[name] = value
end