Skip to content

Commit

Permalink
Item12969: Don't validate strikeone for GET
Browse files Browse the repository at this point in the history
Strikeone only is applicable for POST requests.
  • Loading branch information
gac410 committed Dec 2, 2014
1 parent a6697df commit 611e19d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/UI/Rest.pm
Expand Up @@ -279,7 +279,8 @@ sub rest {
# and we want a simple engine exception here.
if ( $record->{validate}
&& $Foswiki::cfg{Validation}{Method} ne 'none'
&& !$session->inContext('command_line') )
&& !$session->inContext('command_line')
&& uc( $req->method() eq 'POST' ) )
{

my $nonce = $req->param('validation_key');
Expand Down

0 comments on commit 611e19d

Please sign in to comment.