Francois Gouget : testbot/web: Use our escapeHTML() instead of calling directly the CGI one.
Module: tools Branch: master Commit: 96e0fdacae01d741bc0144e8f699f5cccbeaff87 URL: http://source.winehq.org/git/tools.git/?a=commit;h=96e0fdacae01d741bc0144e8f... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Thu Dec 7 04:13:44 2017 +0100 testbot/web: Use our escapeHTML() instead of calling directly the CGI one. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/web/Login.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testbot/web/Login.pl b/testbot/web/Login.pl index 99757c5..f17d60e 100644 --- a/testbot/web/Login.pl +++ b/testbot/web/Login.pl @@ -21,7 +21,6 @@ use strict; package LoginPage; -use CGI qw(:standard escapeHTML); use ObjectModel::BasicPropertyDescriptor; use ObjectModel::CGI::FreeFormPage; use WineTestBot::Config; @@ -79,7 +78,7 @@ sub GenerateFields($) if (defined($self->GetParam("Target"))) { print "<div><input type='hidden' name='Target' value='", - escapeHTML($self->GetParam("Target")), "'></div>\n"; + $self->escapeHTML($self->GetParam("Target")), "'></div>\n"; } $self->SUPER::GenerateFields();
participants (1)
-
Alexandre Julliard