- Timestamp:
- 10/20/08 08:30:18 (3 months ago)
- Location:
- trunk/client/openvpn
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
src/EBox/OpenVPN.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/openvpn/ChangeLog
r11490 r11515 1 0.12.100 2 + Daemon names are restricted to alphanumerics and '-'. '_', '.' characters 1 3 0.12.99 2 4 + New release -
trunk/client/openvpn/src/EBox/OpenVPN.pm
r11123 r11515 632 632 # Method: checkNewDaemonName 633 633 # 634 # Check if the name for a new daemon does nto conflict with the actual635 # configuration634 # Check if the name for a new daemon is correct and does not conflicts with 635 # the actual configuration 636 636 # 637 637 # Parameters: … … 642 642 { 643 643 my ($self, $name, $daemonType, $internal) = @_; 644 645 if (not $name =~ m/^[\w\.\-]+$/) { 646 throw EBox::Exceptions::External( 647 __x( 648 q{Invalid name {name}. Only alpahanumeric and '-', '_', '.' characters are allowed}, 649 name => $name, 650 651 ) 652 ) 653 } 644 654 645 655 # check if the daemon name is repeated in others daemon types
