[interchange] Fix broken parsing on session cookie

Mark Johnson <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit 38090de9a35ebc9fad304991c05489bd20164317
Author: Mark Johnson <[email protected]>
Date:   Tue Feb 4 21:23:29 2014 -0500

    Fix broken parsing on session cookie
    
    * Modifications to support IPv6 left it so it didn't work
      properly on either IPv4 or IPv6.

 lib/Vend/Dispatch.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Dispatch.pm b/lib/Vend/Dispatch.pm
index 5df06ff..b0b1de9 100644
--- a/lib/Vend/Dispatch.pm
+++ b/lib/Vend/Dispatch.pm
@@ -1281,7 +1281,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})[:_]([-\@.:A-Za-z0-9]+?)\b/) {
+	elsif (defined $CGI::cookie and $CGI::cookie =~ /\bMV_SESSION_ID=(\w{8,32})[:_]([-\@.:A-Za-z0-9]+)/) {
 	  SESSION_COOKIE: {
 	      my $id = $1;
 	      my $host = $2;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.