]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 834770: testserver.pl should support uppercase URLs
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>
Sun, 3 Feb 2013 22:51:09 +0000 (23:51 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 3 Feb 2013 22:51:09 +0000 (23:51 +0100)
r/a=LpSolit

testserver.pl

index a9c63787fa2d20e8541a02e68993a0c39d450c4a..d296b730f9a258022cb372f8bc1dda9d55c96a13 100755 (executable)
@@ -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 <URL to this Bugzilla installation>";
     say "e.g.:  $0 http://www.mycompany.com/bugzilla";