diff options
author | Joe Rayhawk <jrayhawk+piny.be@omgwallhack.org> | 2009-10-21 17:51:34 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk+piny.be@omgwallhack.org> | 2009-10-21 17:51:34 -0700 |
commit | fcf0b75c84e72eafd01a3cfe1a21ea1a3344bdd4 (patch) | |
tree | b6f81c5ca59579e113e6bf3638e8558a1c2ddd1e /usr/local/sbin/rmrepo | |
parent | a24383e2b312f697e1665c656e2208f6ba42ba15 (diff) | |
download | piny-code-fcf0b75c84e72eafd01a3cfe1a21ea1a3344bdd4.tar.gz piny-code-fcf0b75c84e72eafd01a3cfe1a21ea1a3344bdd4.zip |
Removing pluses from allowed characters for reponame
Diffstat (limited to 'usr/local/sbin/rmrepo')
-rwxr-xr-x | usr/local/sbin/rmrepo | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |