aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>2013-02-03 23:51:09 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-02-03 23:51:09 +0100
commit8dbd5bc92a043178f70b98978e6e7d433aac1d07 (patch)
treea8ce22f8c8016a4bea9cb9821038300708c1a20f
parentBug 835780: Order quips chronologically when listing them (diff)
downloadgentoo-bugzilla-8dbd5bc92a043178f70b98978e6e7d433aac1d07.tar.gz
gentoo-bugzilla-8dbd5bc92a043178f70b98978e6e7d433aac1d07.tar.bz2
gentoo-bugzilla-8dbd5bc92a043178f70b98978e6e7d433aac1d07.zip
Bug 834770: testserver.pl should support uppercase URLs
r/a=LpSolit
-rwxr-xr-xtestserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/testserver.pl b/testserver.pl
index a9c63787f..d296b730f 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 <URL to this Bugzilla installation>";
say "e.g.: $0 http://www.mycompany.com/bugzilla";