Permalink
Browse files

Fix regexp from recent commit.

  • Loading branch information...
1 parent af5c7d1 commit 36f02edf510db05bd02f0cc07a2ae6f8fcd921b4 @pajamian pajamian committed Oct 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Vend/Dispatch.pm
@@ -1280,7 +1280,7 @@ sub dispatch {
$::Instance->{ExternalCookie} = $sessionid || 1;
$Vend::CookieID = $Vend::Cookie = 1;
}
- elsif (defined $CGI::cookie and $CGI::cookie =~ /\bMV_SESSION_ID=(\w{8,32})[:_](.+?)\b/) {
+ elsif (defined $CGI::cookie and $CGI::cookie =~ /\bMV_SESSION_ID=(\w{8,32})[:_]([-\@.:A-Za-z0-9]+?)\b/) {
SESSION_COOKIE: {
my $id = $1;
my $host = $2;

0 comments on commit 36f02ed

Please sign in to comment.