summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/patches/patch-bl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18-base/patches/patch-bl')
-rw-r--r--lang/ruby18-base/patches/patch-bl13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ruby18-base/patches/patch-bl b/lang/ruby18-base/patches/patch-bl
new file mode 100644
index 00000000000..438f3e13bd3
--- /dev/null
+++ b/lang/ruby18-base/patches/patch-bl
@@ -0,0 +1,13 @@
+$NetBSD: patch-bl,v 1.1 2005/11/02 08:56:40 taca Exp $
+
+--- lib/cgi.rb.orig 2005-09-17 23:55:05.000000000 +0900
++++ lib/cgi.rb
+@@ -870,7 +870,7 @@ class CGI
+ cookies = Hash.new([])
+ return cookies unless raw_cookie
+
+- raw_cookie.split(/[;,] /).each do |pairs|
++ raw_cookie.split(/[;,]\s?/).each do |pairs|
+ name, values = pairs.split('=',2)
+ next unless name and values
+ name = CGI::unescape(name)