Francois Gouget : testbot/web: Remove unneeded CGI imports.
Module: tools Branch: master Commit: cdad6a990a00cb169b5b264b08736d36c70b35b1 URL: https://source.winehq.org/git/tools.git/?a=commit;h=cdad6a990a00cb169b5b264b... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Wed Mar 30 19:06:53 2022 +0200 testbot/web: Remove unneeded CGI imports. Not only are they unneeded, but when combined with qw(:standard) they prevent calling $self->escapeHTML() (where $self is an ObjectModel::CGI::Page object). Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/web/Logout.pl | 1 - testbot/web/Submit.pl | 1 - 2 files changed, 2 deletions(-) diff --git a/testbot/web/Logout.pl b/testbot/web/Logout.pl index 17e81d2..b0fd5cd 100644 --- a/testbot/web/Logout.pl +++ b/testbot/web/Logout.pl @@ -24,7 +24,6 @@ package LogoutPage; use ObjectModel::CGI::Page; our @ISA = qw(ObjectModel::CGI::Page); -use CGI qw(:standard); use WineTestBot::CGI::Sessions; diff --git a/testbot/web/Submit.pl b/testbot/web/Submit.pl index e2173d8..ef7816b 100644 --- a/testbot/web/Submit.pl +++ b/testbot/web/Submit.pl @@ -25,7 +25,6 @@ package SubmitPage; use ObjectModel::CGI::FreeFormPage; our @ISA = qw(ObjectModel::CGI::FreeFormPage); -use CGI qw(:standard); use Fcntl qw(O_RDONLY); use IO::Handle; use POSIX qw(:fcntl_h); # For SEEK_XXX
participants (1)
-
Alexandre Julliard