Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX: Prevent 500 error when a HEAD request is sent to its action URL.

  • Loading branch information...
commit 067204d003291f02633a01c2e7620c41dd38e906 1 parent e443ec5
@sminnee sminnee authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  forms/Form.php
View
1  forms/Form.php
@@ -192,6 +192,7 @@ public function __construct($controller, $name, FieldList $fields, FieldList $ac
'$Action!' => 'handleAction',
'POST ' => 'httpSubmission',
'GET ' => 'httpSubmission',
+ 'HEAD ' => 'httpSubmission',
);
/**
Please sign in to comment.
Something went wrong with that request. Please try again.