diff --git a/mozilla/webtools/tinderbox3/scripts/Tinderbox3/Log.pm b/mozilla/webtools/tinderbox3/scripts/Tinderbox3/Log.pm index 492c24b26c3..abbcab74c55 100644 --- a/mozilla/webtools/tinderbox3/scripts/Tinderbox3/Log.pm +++ b/mozilla/webtools/tinderbox3/scripts/Tinderbox3/Log.pm @@ -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); } diff --git a/mozilla/webtools/tinderbox3/server/Tinderbox3/Log.pm b/mozilla/webtools/tinderbox3/server/Tinderbox3/Log.pm index 492c24b26c3..abbcab74c55 100644 --- a/mozilla/webtools/tinderbox3/server/Tinderbox3/Log.pm +++ b/mozilla/webtools/tinderbox3/server/Tinderbox3/Log.pm @@ -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); }