diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-10-16 20:19:27 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-10-16 20:19:27 +0000 |
commit | 534600eb7c10c930fd8d0ddd273a0ad1aa9953f0 (patch) | |
tree | 77d4df2eadd62d24254eefd8b3f4b27c3d17284f /actionpack/lib | |
parent | cfffedb4d86bcf3190da5e6433b694fc2e9f1bd9 (diff) | |
download | rails-534600eb7c10c930fd8d0ddd273a0ad1aa9953f0.tar.gz rails-534600eb7c10c930fd8d0ddd273a0ad1aa9953f0.tar.bz2 rails-534600eb7c10c930fd8d0ddd273a0ad1aa9953f0.zip |
More Performant Cookie Regexp for Integration tests. [Ola Bini]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/integration.rb | 2 |
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 |