Francois Gouget : testbot/web: Use our escapeHTML() instead of calling directly the CGI one.
Alexandre Julliard
julliard at winehq.org
Thu Dec 7 12:09:39 CST 2017
Module: tools
Branch: master
Commit: 96e0fdacae01d741bc0144e8f699f5cccbeaff87
URL: http://source.winehq.org/git/tools.git/?a=commit;h=96e0fdacae01d741bc0144e8f699f5cccbeaff87
Author: Francois Gouget <fgouget at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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();
More information about the wine-cvs
mailing list