Commit 8dbd5bc9 authored by Koosha Khajeh Moogahi's avatar Koosha Khajeh Moogahi Committed by Frédéric Buclin

Bug 834770: testserver.pl should support uppercase URLs

r/a=LpSolit
parent 0be43b77
...@@ -24,7 +24,7 @@ my $datadir = bz_locations()->{'datadir'}; ...@@ -24,7 +24,7 @@ my $datadir = bz_locations()->{'datadir'};
eval "require LWP; require LWP::UserAgent;"; eval "require LWP; require LWP::UserAgent;";
my $lwp = $@ ? 0 : 1; 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 "Usage: $0 <URL to this Bugzilla installation>";
say "e.g.: $0 http://www.mycompany.com/bugzilla"; say "e.g.: $0 http://www.mycompany.com/bugzilla";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment