Skip to content

Commit

Permalink
Object names cannot contact special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Aug 4, 2019
1 parent 8cf71f5 commit df8a43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-lib-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7307,7 +7307,7 @@ sub unserialise_variable
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 = { };
Expand Down

0 comments on commit df8a43f

Please sign in to comment.