diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | perl/Wallet/ACL.pm | 4 | ||||
-rw-r--r-- | perl/Wallet/Server.pm | 4 |
3 files changed, 4 insertions, 8 deletions
@@ -18,6 +18,10 @@ wallet 0.8 (unreleased) wallet-admin now supports registering new object or ACL verifier implementations in the database. + Remove the restriction that all object implementations must have class + names of Wallet::Object::* and all ACL verifier implementations must + have class names of Wallet::ACL::*. + Add a full end-to-end test suite to catch protocol mismatches between the client and server, such as the one fixed in this release. diff --git a/perl/Wallet/ACL.pm b/perl/Wallet/ACL.pm index 0e1018f..b96d2ac 100644 --- a/perl/Wallet/ACL.pm +++ b/perl/Wallet/ACL.pm @@ -137,10 +137,6 @@ sub scheme_mapping { return; } if (defined $class) { - if ($class !~ /^Wallet::ACL::(\w+::)*\w+\z/) { - $self->error ("invalid class name $class for scheme $scheme"); - return; - } eval "require $class"; if ($@) { $self->error ($@); diff --git a/perl/Wallet/Server.pm b/perl/Wallet/Server.pm index e698b39..d4e6a91 100644 --- a/perl/Wallet/Server.pm +++ b/perl/Wallet/Server.pm @@ -96,10 +96,6 @@ sub type_mapping { return; } if (defined $class) { - if ($class !~ /^Wallet::Object::(\w+::)*\w+\z/) { - $self->error ("invalid class name $class for type $type"); - return; - } eval "require $class"; if ($@) { $self->error ($@); |