mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #249 from sminnee/form-head-request-throws-500
BUGFIX: Prevent 500 error when a HEAD request is sent to its action URL.
This commit is contained in:
commit
161a5ca209
@ -192,6 +192,7 @@ class Form extends RequestHandler {
|
||||
'$Action!' => 'handleAction',
|
||||
'POST ' => 'httpSubmission',
|
||||
'GET ' => 'httpSubmission',
|
||||
'HEAD ' => 'httpSubmission',
|
||||
);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user