From fcf0b75c84e72eafd01a3cfe1a21ea1a3344bdd4 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 21 Oct 2009 17:51:34 -0700 Subject: Removing pluses from allowed characters for reponame --- usr/local/sbin/rmrepo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/sbin/rmrepo') diff --git a/usr/local/sbin/rmrepo b/usr/local/sbin/rmrepo index ad84e1b..864830f 100755 --- a/usr/local/sbin/rmrepo +++ b/usr/local/sbin/rmrepo @@ -5,7 +5,7 @@ use warnings; my( $reponame, $uid, $gitowner, $wikilisttempfile, $cgitrctempfile); -if ( ( ! scalar $ARGV[0] ) or ( scalar $ARGV[1] ) or ( $ARGV[0] !~ /^[a-z0-9][a-z0-9+-]+$/ ) ) { +if ( ( ! scalar $ARGV[0] ) or ( scalar $ARGV[1] ) or ( $ARGV[0] !~ /^[a-z0-9][a-z0-9-]+$/ ) ) { print( "Usage: rmrepo REPONAME\n" ); exit( 1 ); } else { -- cgit v1.2.3