Changeset 256

Show
Ignore:
Timestamp:
06/26/07 15:36:49 (1 year ago)
Author:
ludo
Message:

allow spaces in group and profile (from r4526)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/webmin/lbs_common/lbs_common.pl

    r237 r256  
    15691569sub InClean() { 
    15701570        if (exists($main::in{'profile'})) { 
    1571                 $main::in{'profile'} =~ s/[^a-z0-9_-]//gi; 
     1571                $main::in{'profile'} =~ s/[^a-z0-9_ -]//gi; 
    15721572        } 
    15731573        if (exists($main::in{'group'})) { 
    1574                 $main::in{'group'} =~ s/[^a-z0-9_\/-]//gi; 
     1574                $main::in{'group'} =~ s/[^a-z0-9_\/ -]//gi; 
    15751575        } 
    15761576        if (exists($main::in{'mac'})) {