Skip to content

Commit

Permalink
Use a 307 redirect to preserve POST content #70
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jun 15, 2024
1 parent 16d0e5e commit 9cc290d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9cc290d

Please sign in to comment.