Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / EventSubscriber / ExceptionJsonSubscriber.php
index 76cc55ee3abcb573aa5c26dfbd605032d14bf27b..6ccb743356de49dc3c874a7e1ca707ae313a4f6b 100644 (file)
@@ -14,7 +14,7 @@ class ExceptionJsonSubscriber extends HttpExceptionSubscriberBase {
    * {@inheritdoc}
    */
   protected function getHandledFormats() {
-    return ['json'];
+    return ['json', 'drupal_modal', 'drupal_dialog', 'drupal_ajax'];
   }
 
   /**