Commit 4861cf13 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix for new mailman cookie format.

parent 97dcfdfe
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -100,7 +100,7 @@ if (isset($target_project) || isset($target_group)) {
# Set-Cookie: foo=2802; Path=/mailman/; Version=1;
#
if (!preg_match("/^Set-Cookie: ([-\w\+\.\%]+)=(\w*); ".
"Path=(\/[\w]+\/); Version=1;$/",
"Path=(\/[\w]+\/); Version=1;?$/",
$suexec_output, $matches)) {
TBERROR($suexec_output, 1);
}
......@@ -173,7 +173,7 @@ elseif (isset($listname) && $listname != "") {
# Set-Cookie: foo=2802; Path=/mailman/; Version=1;
#
if (!preg_match("/^Set-Cookie: ([-\w\+\.\%]+)=(\w*); ".
"Path=(\/[\w]+\/); Version=1;$/",
"Path=(\/[\w]+\/); Version=1;?$/",
$suexec_output, $matches)) {
TBERROR($suexec_output, 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment