mschout / perl-text-template

Expand template text with embedded Perl
13 stars 6 forks source link

Fix for taint error under windows strawberry #13

Closed plicease closed 5 years ago

plicease commented 5 years ago

File::Temp seems to be trying to create a temp directory in \ and this is giving a permission denied error. Setting the temp directory to . fixes this.

This fixes #12. Alternative fixes might be worth considering:

  1. use $ENV{TMP} as the temp directory on windows. This will need to be untainted though.