From 53e5e5da24ec13c49e9fdeffa9560833b28ad107 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 9 Mar 2020 18:11:34 +0100 Subject: [PATCH] api/quarantine: add deprecation fixme for old delete b/w-list entries endpoints Signed-off-by: Thomas Lamprecht --- src/PMG/API2/Quarantine.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PMG/API2/Quarantine.pm b/src/PMG/API2/Quarantine.pm index f8135c6..73fb0ec 100644 --- a/src/PMG/API2/Quarantine.pm +++ b/src/PMG/API2/Quarantine.pm @@ -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}', -- 2.39.2