diff options
author | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-04-27 18:33:28 -0700 |
---|---|---|
committer | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-04-27 18:33:28 -0700 |
commit | 3cdeae97f6d57f187361ce09057946fd4ccd4ef0 (patch) | |
tree | bfc1661557035306d10e1236e1850283cab1da98 /libpiny/lib | |
parent | bfffd588f6ea2184324b5ab11f1189b8d6b262f1 (diff) | |
download | piny-code-3cdeae97f6d57f187361ce09057946fd4ccd4ef0.tar.gz piny-code-3cdeae97f6d57f187361ce09057946fd4ccd4ef0.zip |
Switch shortname hashes over to adduser-safe characters
Diffstat (limited to 'libpiny/lib')
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index 25bd744..14a26d1 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -470,8 +470,8 @@ around BUILDARGS => sub { }; }; -my @letter1 = ( 'a' .. 'z', 'A' .. 'Z' ); # First digit is base 52. -my @lettern = ( '0' .. '9', 'a' .. 'z', 'A' .. 'Z', '-', '_' ); # Remaining digits are base 64. +my @letter1 = ( 'a' .. 'z' ); # First digit is base 26. +my @lettern = ( '0' .. '9', 'a' .. 'z', '-', '_' ); # Remaining digits are base 38. sub _build_shortname { my ( $s ) = @_; |