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

Contents of /rpms/perl-Mojolicious/sme10/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 09:27:45 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mojolicious-6_44-2_el7_sme, perl-Mojolicious-6_44-1_el7_sme, HEAD
Import Mojo 6.44 (from Charlie Brady) in sme10 branch

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