/[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.2 - (show annotations) (download)
Tue Feb 9 14:33:13 2016 UTC (8 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import latest SRPM from Charlie Brady (Mojo 6.44)

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