Francois Gouget : testbot/web: Include the task key in GetTaskFile's suggested filename.

Alexandre Julliard julliard at winehq.org
Tue Oct 22 12:22:11 CDT 2019


Module: tools
Branch: master
Commit: 636d727f509c88d8caa722021ee0734cae53c8d3
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=636d727f509c88d8caa722021ee0734cae53c8d3

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Oct 22 11:14:26 2019 +0200

testbot/web: Include the task key in GetTaskFile's suggested filename.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/web/GetTaskFile.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/GetTaskFile.pl b/testbot/web/GetTaskFile.pl
index 35f2433..6353219 100644
--- a/testbot/web/GetTaskFile.pl
+++ b/testbot/web/GetTaskFile.pl
@@ -49,7 +49,7 @@ sub SendTaskFile($$$$$)
     $Request->content_type("text/plain");
     $Request->headers_out->add("Content-length", $FileSize);
     $Request->headers_out->add("Content-Disposition",
-                               "attachment; filename=\"$File\"");
+                               "attachment; filename=\"job${JobId}_${StepNo}_${TaskNo}_$File\"");
 
     $BlkSize ||= 16384;
     print $_ while (sysread($fh, $_, $BlkSize));




More information about the wine-cvs mailing list