From: Koosha Khajeh Moogahi Date: Sun, 3 Feb 2013 22:51:09 +0000 (+0100) Subject: Bug 834770: testserver.pl should support uppercase URLs X-Git-Tag: bugzilla-4.4rc2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dbd5bc92a043178f70b98978e6e7d433aac1d07;p=thirdparty%2Fbugzilla.git Bug 834770: testserver.pl should support uppercase URLs r/a=LpSolit --- diff --git a/testserver.pl b/testserver.pl index a9c63787fa..d296b730f9 100755 --- a/testserver.pl +++ b/testserver.pl @@ -24,7 +24,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";