Add comment regarding detainting in showlog.pl

This commit is contained in:
kiko%async.com.br 2003-10-15 21:30:10 +00:00
parent c35dd39908
commit 6984371fce
2 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,8 @@ sub ensure_uncompressed {
sub create_logfile_name {
my ($machine_id) = @_;
# This string is detainted in showlog.pl; if you change the format
# be sure to change the detaint expression as well.
return time2str("%Y%m%d%H%M%S.log", time);
}

View File

@ -50,6 +50,8 @@ sub ensure_uncompressed {
sub create_logfile_name {
my ($machine_id) = @_;
# This string is detainted in showlog.pl; if you change the format
# be sure to change the detaint expression as well.
return time2str("%Y%m%d%H%M%S.log", time);
}