/[smeserver]/rpms/perl-CGI-FormMagick/sme7/perl-CGI-FormMagick-0.92-validateliteral.patch
ViewVC logotype

Contents of /rpms/perl-CGI-FormMagick/sme7/perl-CGI-FormMagick-0.92-validateliteral.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 12 16:51:59 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_92-11_el4_sme, perl-CGI-FormMagick-0_92-18_el4_sme, perl-CGI-FormMagick-0_92-12_el4_sme, perl-CGI-FormMagick-0_92-17_el4_sme, perl-CGI-FormMagick-0_92-14_el4_sme, perl-CGI-FormMagick-0_92-13_el4_sme, perl-CGI-FormMagick-0_92-10_el4_sme, perl-CGI-FormMagick-0_92-15_el4_sme, perl-CGI-FormMagick-0_92-16_el4_sme, perl-CGI-FormMagick-0_92-19_el4_sme, HEAD
Import on branch sme7 of package perl-CGI-FormMagick-0.92-10.el4.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/Validator.pm mezzanine_patched_perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/Validator.pm
2 --- perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/Validator.pm 2005-10-31 10:24:02.000000000 -0700
3 +++ mezzanine_patched_perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/Validator.pm 2007-06-11 16:21:43.000000000 -0600
4 @@ -460,7 +460,7 @@
5
6 # Trim leading and trailing whitespace from the field data, unless
7 # there is a notrim attr set to true.
8 - if ($field->{id} and not $info->{notrim})
9 + if ($field->{id} and $info->{type} ne 'literal' and not $info->{notrim})
10 {
11 $self->debug_msg("Trimming whitespace around field $field->{id}");
12 my $data = $self->{cgi}->param($field->{id});

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed