diff Lib/IMPL/DOM/Transform/PostToDOM.pm @ 144:b56ebc31bf18

Empty nodes no more created while transforming a post request to the DOM document minor speed improvements to the object CTOR caching Added support for a secure processing (and 'laundering' ) a CGI parameters Many minor fixes
author wizard
date Tue, 13 Jul 2010 02:05:38 +0400
parents 06a34c197b05
children c2aa10fbb396
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Transform/PostToDOM.pm	Thu Jul 08 23:46:49 2010 +0400
+++ b/Lib/IMPL/DOM/Transform/PostToDOM.pm	Tue Jul 13 02:05:38 2010 +0400
@@ -71,7 +71,7 @@
 	$prefix = qr/$prefix/;
 	
 	foreach my $param (grep $_=~/$prefix/, $query->param()) {
-		my $value = $query->param($param);
+		my $value = $query->param($param) or next;
 		
 		my @parts = split /\//,$param;