mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Add comment regarding detainting in showlog.pl
This commit is contained in:
parent
c35dd39908
commit
6984371fce
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user