Changeset 2071

Show
Ignore:
Timestamp:
11/02/06 12:26:59
Author:
miyagawa
Message:

don't allow numeric alias

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Mixxi/trunk/lib/Mixxi/Controller/URL.pm

    r2070 r2071  
    6565    my($self, $c, $alias) = @_; 
    6666    $alias =~ /^[a-zA-Z0-9\-\_]{2,16}$/ or return; 
     67    $alias =~ /^[0-9]+$/ and return; 
    6768    $reserved_alias{$alias} and return; 
    6869