From 9cc290d154a8d619e9ef9520c963211890353965 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 15 Jun 2024 10:07:21 -0700 Subject: [PATCH] Use a 307 redirect to preserve POST content https://github.com/virtualmin/virtualmin-nginx/issues/70 --- virtual_feature.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/virtual_feature.pl b/virtual_feature.pl index 9adce10..796240c 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -3157,6 +3157,7 @@ sub feature_save_web_autoconfig $r = { 'path' => $p, 'http' => 1, 'https' => 1, + 'code' => 307, 'dest' => "\$scheme://\$host/cgi-bin/autoconfig.cgi" }; my $err = &feature_create_web_redirect($d, $r); return $err if ($err);