From df66c53d6fcd6a551885e149e6bbf2e71412ef29 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 15 Mar 2020 22:42:23 -0700 Subject: [PATCH] id field is needed for deletes --- virtual_feature.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/virtual_feature.pl b/virtual_feature.pl index c96ed06..49cc840 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -1599,6 +1599,7 @@ sub feature_list_web_redirects else { $redirect->{'http'} = $redirect->{'https'} = 1; } + $redirect->{'id'} = ($redirect->{'alias'} ? 'alias_' : 'redirect_').$redirect->{'path'}; push(@rv, $redirect); } }