Update src/Symfony/Component/HttpFoundation/Request.php
This makes `getContentType()` work when a regular form is submitted.
This commit is contained in:
parent
1c783f6038
commit
c81ec4dce5
@ -1649,6 +1649,7 @@ class Request
|
||||
'rdf' => array('application/rdf+xml'),
|
||||
'atom' => array('application/atom+xml'),
|
||||
'rss' => array('application/rss+xml'),
|
||||
'form' => array('application/x-www-form-urlencoded'),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user