Skip to content

Commit

Permalink
BUGFIX: Prevent 500 error when a HEAD request is sent to its action URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Minnee committed Mar 18, 2012
1 parent e443ec5 commit 067204d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forms/Form.php
Expand Up @@ -192,6 +192,7 @@ public function __construct($controller, $name, FieldList $fields, FieldList $ac
'$Action!' => 'handleAction',
'POST ' => 'httpSubmission',
'GET ' => 'httpSubmission',
'HEAD ' => 'httpSubmission',
);

/**
Expand Down

0 comments on commit 067204d

Please sign in to comment.