summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtestserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/testserver.pl b/testserver.pl
index 3eb25a13b..fc3b5b0ab 100755
--- a/testserver.pl
+++ b/testserver.pl
@@ -16,6 +16,7 @@ use lib qw(. lib);
use Bugzilla;
use Bugzilla::Constants;
+use Bugzilla::Util;
use Socket;
@@ -97,7 +98,7 @@ Check your web server configuration and try again.";
}
# Try to execute a cgi script
-my $response = fetch($ARGV[0] . "/testagent.cgi");
+my $response = clean_text(fetch($ARGV[0] . "/testagent.cgi"));
if ($response =~ /^OK (.*)$/) {
say "TEST-OK Webserver is executing CGIs via $1.";
} elsif ($response =~ /^#!/) {