[interchange] Link parameters would be broken because of a spli on equal sign.

Ton Verhagen <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit 32dccbb5404ef701886a81bdfe3de537e95725ba
Author: Ton Verhagen <[email protected]>
Date:   Fri Sep 24 10:21:38 2010 +0200

    	Link parameters would be broken because of a spli on equal sign.
    	This caused a problem where one would have an equal sign in the parameter values itself.

 lib/Vend/Menu.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Menu.pm b/lib/Vend/Menu.pm
index d0c172e..5e32574 100644
--- a/lib/Vend/Menu.pm
+++ b/lib/Vend/Menu.pm
@@ -331,7 +331,7 @@ my %transform = (
 			my @parms = split $Global::UrlSplittor, $row->{$_};
 			my @out;
 			for my $p (@parms) {
-				my ($parm, $val) = split /=/, $p;
+				my ($parm, $val) = split /=/, $p, 2;
 				$val = unhexify($val);
 				$val =~ s/\[cgi\s+([^\[]+)\]/$CGI::values{$1}/g;
 				$val =~ s/\[var\s+([^\[]+)\]/$::Variable->{$1}/g;
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.