perl-libwww-perl/rt-38736_taint.patch
Marcela Mašláňová 3c65a7d565 - update to 5.816
- fix #465855 - add --aliases into INSTALLDIRS
- use upstream patch for previous problem (see rt 38736)
2008-10-07 10:37:18 +00:00

13 lines
553 B
Diff

diff -up libwww-perl-5.816/lib/HTTP/Message.pm.ooo libwww-perl-5.816/lib/HTTP/Message.pm
--- libwww-perl-5.816/lib/HTTP/Message.pm.ooo 2008-10-07 10:47:51.000000000 +0200
+++ libwww-perl-5.816/lib/HTTP/Message.pm 2008-10-07 10:50:18.000000000 +0200
@@ -410,7 +410,7 @@ sub AUTOLOAD
# We create the function here so that it will not need to be
# autoloaded the next time.
no strict 'refs';
- *$method = eval "sub { shift->{'_headers'}->$method(\@_) }";
+ *$method = sub { shift->{'_headers'}->$method(@_) };
goto &$method;
}