SVN: toys/rsget.pl/RSGet/HTTPServer.pm

sparky sparky at pld-linux.org
Sat Mar 13 03:29:52 CET 2010


Author: sparky
Date: Sat Mar 13 03:29:51 2010
New Revision: 11269

Modified:
   toys/rsget.pl/RSGet/HTTPServer.pm
Log:
- allow query components separated by &


Modified: toys/rsget.pl/RSGet/HTTPServer.pm
==============================================================================
--- toys/rsget.pl/RSGet/HTTPServer.pm	(original)
+++ toys/rsget.pl/RSGet/HTTPServer.pm	Sat Mar 13 03:29:51 2010
@@ -95,7 +95,7 @@
 		}
 	} elsif ( $file =~ s/\?(.*)// ) {
 		my $get = $1;
-		%post = map { /^(.*?)=(.*)/; (uri_unescape( $1 ), uri_unescape( $2 )) } split /;+/, $get;
+		%post = map { /^(.*?)=(.*)/; (uri_unescape( $1 ), uri_unescape( $2 )) } split /[;&]+/, $get;
 	}
 
 	my $authorized = 1;


More information about the pld-cvs-commit mailing list