Skip to content

Commit

Permalink
Item10027: Sanitize PATH before calling gzip
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@9985 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OlivierRaginel authored and OlivierRaginel committed Nov 15, 2010
1 parent f0a9540 commit 8851756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/pseudo-install.pl
Expand Up @@ -416,6 +416,7 @@ sub generateAlternateVersion {
"gzip -c "
. _cleanPath($file) . " > "
. _cleanPath($file) . ".gz";
local $ENV{PATH} = untaint( $ENV{PATH} );
trace `$command`;
}
}
Expand Down

0 comments on commit 8851756

Please sign in to comment.