mirror of
https://github.com/webmin/webmin.git
synced 2026-06-19 02:40:32 +01:00
Object names cannot contact special characters
This commit is contained in:
@@ -7307,7 +7307,7 @@ elsif ($v[0] eq 'REF') {
|
||||
elsif ($v[0] eq 'UNDEF') {
|
||||
$rv = undef;
|
||||
}
|
||||
elsif ($v[0] =~ /^OBJECT\s+(.*)$/) {
|
||||
elsif ($v[0] =~ /^OBJECT\s+([A-Za-z0-9_:]+)$/) {
|
||||
# An object hash that we have to re-bless
|
||||
my $cls = $1;
|
||||
$rv = { };
|
||||
|
||||
Reference in New Issue
Block a user