From b4fb59cdcd4b8cb8994ffd2026866fa3cc3c2985 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" Date: Wed, 15 Oct 2003 21:30:10 +0000 Subject: [PATCH] Add comment regarding detainting in showlog.pl git-svn-id: svn://10.0.0.236/trunk@148002 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/tinderbox3/scripts/Tinderbox3/Log.pm | 2 ++ mozilla/webtools/tinderbox3/server/Tinderbox3/Log.pm | 2 ++ 2 files changed, 4 insertions(+) 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); }