/[smeserver]/rpms/perl-Mojolicious/sme9/Mojolicious-4.91.untaint.patch
ViewVC logotype

Contents of /rpms/perl-Mojolicious/sme9/Mojolicious-4.91.untaint.patch

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


Revision 1.1 - (show annotations) (download)
Wed Apr 9 04:51:38 2014 UTC (10 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: perl-Mojolicious-4_91-1_el6_sme, perl-Mojolicious-5_05-2_el6_sme, perl-Mojolicious-5_05-1_el6_sme, perl-Mojolicious-4_91-1_el6
Initial import

1 --- Mojolicious-4.91/lib/Mojo/Template.pm.orig 2014-03-14 19:58:22.000000000 -0400
2 +++ Mojolicious-4.91/lib/Mojo/Template.pm 2014-03-31 19:39:49.000000000 -0400
3 @@ -93,6 +93,8 @@
4
5 # Compile with line directive
6 return undef unless my $code = $self->code;
7 + # Workaround for use in taint check mode
8 + use Taint::Util; untaint $code;
9 my $compiled = eval $self->_wrap($code);
10 $self->compiled($compiled) and return undef unless $@;
11

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