Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 067204d003291f02633a01c2e7620c41dd38e906 1 parent e443ec5
Sam Minnée authored March 19, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  forms/Form.php
1  forms/Form.php
@@ -192,6 +192,7 @@ public function __construct($controller, $name, FieldList $fields, FieldList $ac
192 192
 		'$Action!' => 'handleAction',
193 193
 		'POST ' => 'httpSubmission',
194 194
 		'GET ' => 'httpSubmission',
  195
+		'HEAD ' => 'httpSubmission',
195 196
 	);
196 197
 	
197 198
 	/**

0 notes on commit 067204d

Please sign in to comment.
Something went wrong with that request. Please try again.