Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
@ -80,7 +80,7 @@ class NegotiationMiddleware implements HttpKernelInterface {
|
|||
protected function getContentType(Request $request) {
|
||||
// AJAX iframe uploads need special handling, because they contain a JSON
|
||||
// response wrapped in <textarea>.
|
||||
if ($request->get('ajax_iframe_upload', FALSE)) {
|
||||
if ($request->request->get('ajax_iframe_upload', FALSE)) {
|
||||
return 'iframeupload';
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue