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

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

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


Revision 1.1 - (show annotations) (download)
Tue Feb 9 14:33:13 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mojolicious-6_44-3_el6_sme, perl-Mojolicious-6_44-2_el6_sme, perl-Mojolicious-6_44-1_el6_sme, HEAD
Import latest SRPM from Charlie Brady (Mojo 6.44)

1 --- Mojolicious-6.08/lib/Mojo/Template.pm.orig 2015-03-15 22:50:25.000000000 -0400
2 +++ Mojolicious-6.08/lib/Mojo/Template.pm 2015-04-15 13:27:11.000000000 -0400
3 @@ -88,7 +88,9 @@
4
5 # Compile with line directive
6 return undef unless defined(my $code = $self->code);
7 - my $compiled = eval $self->_wrap($code);
8 + # Workaround for use in taint check mode
9 + $code =~ /(.*)/s;
10 + my $compiled = eval $self->_wrap($1);
11 $self->compiled($compiled) and return undef unless $@;
12
13 # Use local stacktrace for compile exceptions

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