pkgsrc/lang/ruby18-base/patches/patch-bl
taca ab4fba48de - Update to Ruby 1.8.3 with several fixes after its release
(see CHANGES.pkgsrc file).
- Merge databases/ruby-dbm, devel/ruby-zlib, security/ruby-digest and
  ruby-openssl, conflicting with these packages.
- Better handling for RI directories.
- Use pkgsrc's TOOLS framework.
2005-11-02 08:56:39 +00:00

13 lines
431 B
Text

$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)