[PATCH] testbot/web: Escape the filenames on the activity page.

Francois Gouget fgouget at codeweavers.com
Fri Jun 15 07:00:11 CDT 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/web/Activity.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/Activity.pl b/testbot/web/Activity.pl
index 8b1fd6dc5..512401751 100644
--- a/testbot/web/Activity.pl
+++ b/testbot/web/Activity.pl
@@ -215,7 +215,7 @@ EOF
         }
         else
         {
-          $Label .= " ". $VMStatus->{step}->FileName;
+          $Label .= " ". $self->escapeHTML($VMStatus->{step}->FileName);
           if ($VMStatus->{task}->CmdLineArg =~ /^\w+$/ and
               $Label =~ s/_(?:cross)?test(64)?\.exe$//)
           {
-- 
2.17.1



More information about the wine-devel mailing list