Skip to content

Commit

Permalink
Item11690: use amended Foswiki::Func::redirectCgiQuery() API to do a …
Browse files Browse the repository at this point in the history
…proper 307 redirect

git-svn-id: http://svn.foswiki.org/trunk/FormPlugin@14491 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
FlorianSchlichting authored and FlorianSchlichting committed Mar 28, 2012
1 parent 9aaa5ea commit e7448f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Foswiki/Plugins/FormPlugin.pm
Expand Up @@ -478,10 +478,9 @@ sub _redirectToActionUrl {
debug( "\t query=" . Dumper($query) );

$redirecting = 1;
Foswiki::Func::redirectCgiQuery( undef, $url, 1 );
Foswiki::Func::redirectCgiQuery( undef, $url, 1, 307 );

print "Status: 307\nLocation: $url\n\n";
_sessionClearForm($formData->{options}->{name});
_sessionClearForm($formData->{options}->{name});

return '';
}
Expand Down

0 comments on commit e7448f5

Please sign in to comment.