From 1d0806cfaae4b389343892feefebb77287497b9c Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 8 Jun 2013 23:03:56 -0700 Subject: [PATCH] Correct File::Spec POD about tainting and tmpdir Since version 3.39_01, the taint check has applied before 5.8.0, too. --- dist/Cwd/lib/File/Spec/Cygwin.pm | 2 +- dist/Cwd/lib/File/Spec/VMS.pm | 2 +- dist/Cwd/lib/File/Spec/Win32.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/Cwd/lib/File/Spec/Cygwin.pm b/dist/Cwd/lib/File/Spec/Cygwin.pm index 4eb0347..3c7e322 100644 --- a/dist/Cwd/lib/File/Spec/Cygwin.pm +++ b/dist/Cwd/lib/File/Spec/Cygwin.pm @@ -92,7 +92,7 @@ from the following list: $ENV{'TEMP'} C:/temp -Since Perl 5.8.0, if running under taint mode, and if the environment +If running under taint mode, and if the environment variables are tainted, they are not used. =cut diff --git a/dist/Cwd/lib/File/Spec/VMS.pm b/dist/Cwd/lib/File/Spec/VMS.pm index 16f4789..92f85a6 100644 --- a/dist/Cwd/lib/File/Spec/VMS.pm +++ b/dist/Cwd/lib/File/Spec/VMS.pm @@ -271,7 +271,7 @@ from the following list or '' if none are writable: sys$scratch: $ENV{TMPDIR} -Since perl 5.8.0, if running under taint mode, and if $ENV{TMPDIR} +If running under taint mode, and if $ENV{TMPDIR} is tainted, it is not used. =cut diff --git a/dist/Cwd/lib/File/Spec/Win32.pm b/dist/Cwd/lib/File/Spec/Win32.pm index b606011..5476f5f 100644 --- a/dist/Cwd/lib/File/Spec/Win32.pm +++ b/dist/Cwd/lib/File/Spec/Win32.pm @@ -62,7 +62,7 @@ from the following list: The SYS:/temp is preferred in Novell NetWare and the C:\system\temp for Symbian (the File::Spec::Win32 is used also for those platforms). -Since Perl 5.8.0, if running under taint mode, and if the environment +If running under taint mode, and if the environment variables are tainted, they are not used. =cut -- 2.7.4