[ic] [PATCH]: MiniVend/Interchange Bug Patrol strikes again
Stefan Hornburg
racke@linuxia.de
04 Sep 2000 11:29:58 +0200
COMMENT: obvious fix to urlencode filter
diff -u -c -r1.13 Interpolate.pm
*** Interpolate.pm 2000/09/03 23:32:21 1.13
--- Interpolate.pm 2000/09/04 09:47:39
***************
*** 887,893 ****
},
'urlencode' => sub {
my $val = shift;
! $val =~ s|[^\w:]|sprintf "%%%02x", ord $1|eg;
return $val;
},
'pagefile' => sub {
--- 887,893 ----
},
'urlencode' => sub {
my $val = shift;
! $val =~ s|([^\w:])|sprintf "%%%02x", ord $1|eg;
return $val;
},
'pagefile' => sub {
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Coding from hell and back <---