Francois Gouget : testbot/web: Fix the check for which log to show in full.
Module: tools Branch: master Commit: f849bddb5f67e19f8a917b59ce6182888f82813a URL: https://source.winehq.org/git/tools.git/?a=commit;h=f849bddb5f67e19f8a917b59... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Fri Nov 23 16:23:14 2018 +0100 testbot/web: Fix the check for which log to show in full. The name of the current log has been decoded so it should not be compared to a uri_escape()'d log filename. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/web/JobDetails.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl index 9ab5006..6c8c7ce 100644 --- a/testbot/web/JobDetails.pl +++ b/testbot/web/JobDetails.pl @@ -247,7 +247,7 @@ sub InitMoreInfo($) foreach my $Log (@{GetLogFileNames($TaskDir, 1)}) { push @{$More->{$Key}->{Logs}}, $Log; - $More->{$Key}->{Full} = $Log if (uri_escape($Log) eq $Value); + $More->{$Key}->{Full} = $Log if ($Log eq $Value); } $More->{$Key}->{Full} ||= ""; }
participants (1)
-
Alexandre Julliard