diff options
author | Koosha Khajeh Moogahi <koosha.khajeh@gmail.com> | 2013-02-03 23:50:04 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-02-03 23:50:04 +0100 |
commit | 87badf1db52d0f54fd83a940fb4a884b56e159ff (patch) | |
tree | d0561fca0d6785ae895d1c705da38bdbe46b8778 /testserver.pl | |
parent | fb3e9b2bfe67aadd7c4baadd485e39e818d643cf (diff) | |
download | bugzilla-87badf1db52d0f54fd83a940fb4a884b56e159ff.tar.gz bugzilla-87badf1db52d0f54fd83a940fb4a884b56e159ff.tar.xz |
Bug 834770: testserver.pl should support uppercase URLs
r/a=LpSolit
Diffstat (limited to 'testserver.pl')
-rwxr-xr-x | testserver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testserver.pl b/testserver.pl index fc3b5b0ab..f00f551f9 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 <URL to this Bugzilla installation>"; say "e.g.: $0 http://www.mycompany.com/bugzilla"; |