From: Koosha Khajeh Moogahi Date: Sun, 3 Feb 2013 22:50:04 +0000 (+0100) Subject: Bug 834770: testserver.pl should support uppercase URLs X-Git-Tag: bugzilla-4.5.1~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87badf1db52d0f54fd83a940fb4a884b56e159ff;p=thirdparty%2Fbugzilla.git Bug 834770: testserver.pl should support uppercase URLs r/a=LpSolit --- diff --git a/testserver.pl b/testserver.pl index fc3b5b0ab9..f00f551f96 100755 --- a/testserver.pl +++ b/testserver.pl @@ -25,7 +25,7 @@ my $datadir = bz_locations()->{'datadir'}; eval "require LWP; require LWP::UserAgent;"; my $lwp = $@ ? 0 : 1; -if ((@ARGV != 1) || ($ARGV[0] !~ /^https?:/)) +if ((@ARGV != 1) || ($ARGV[0] !~ /^https?:/i)) { say "Usage: $0 "; say "e.g.: $0 http://www.mycompany.com/bugzilla";