]> git.proxmox.com Git - pmg-api.git/commitdiff
api/quarantine: add deprecation fixme for old delete b/w-list entries endpoints
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Mar 2020 17:11:34 +0000 (18:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Mar 2020 17:23:10 +0000 (18:23 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PMG/API2/Quarantine.pm

index f8135c66abc088131c2e7de8446a3ae3be37a547..73fb0ec35ceb9004e5ab896777a82ea5ba0cf11f 100644 (file)
@@ -302,6 +302,8 @@ __PACKAGE__->register_method ({
        return undef;
     }});
 
+# FIXME: remove for PMG 7.0 - addresses can contain stuff like '/' which breaks
+# API path resolution, thus we replaced it by above "un-templated" call
 __PACKAGE__->register_method ({
     name => 'whitelist_delete',
     path => 'whitelist/{address}',
@@ -410,6 +412,8 @@ __PACKAGE__->register_method ({
        return undef;
     }});
 
+# FIXME: remove for PMG 7.0 - addresses can contain stuff like '/' which breaks
+# API path resolution, thus we replaced it by above "un-templated" call
 __PACKAGE__->register_method ({
     name => 'blacklist_delete',
     path => 'blacklist/{address}',