[interchange-cvs] interchange - docelic modified lib/Vend/Config.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Thu Aug 11 18:17:22 EDT 2005
User: docelic
Date: 2005-08-11 22:17:22 GMT
Modified: lib/Vend Config.pm
Log:
Fix the default regex for the CookiePattern directive.
Too liberal specification was causing the code to match the whole
cookie content (instead of just the session ID in it), when CookieName
directive was in use.
Revision Changes Path
2.179 +3 -3 interchange/lib/Vend/Config.pm
rev 2.179, prev_rev 2.178
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.178
retrieving revision 2.179
diff -u -r2.178 -r2.179
--- Config.pm 22 May 2005 12:55:24 -0000 2.178
+++ Config.pm 11 Aug 2005 22:17:22 -0000 2.179
@@ -1,6 +1,6 @@
# Vend::Config - Configure Interchange
#
-# $Id: Config.pm,v 2.178 2005/05/22 12:55:24 mheins Exp $
+# $Id: Config.pm,v 2.179 2005/08/11 22:17:22 docelic Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -52,7 +52,7 @@
use Vend::Data;
use Vend::Cron;
-$VERSION = substr(q$Revision: 2.178 $, 10);
+$VERSION = substr(q$Revision: 2.179 $, 10);
my %CDname;
my %CPname;
@@ -633,7 +633,7 @@
['Promiscuous', 'yesno', 'No'],
['Cookies', 'yesno', 'Yes'],
['CookieName', undef, ''],
- ['CookiePattern', 'regex', '[-\w:.]+'],
+ ['CookiePattern', 'regex', '\w{8,32}'],
['CookieLogin', 'yesno', 'No'],
['CookieDomain', undef, ''],
['MasterHost', undef, ''],
More information about the interchange-cvs
mailing list