[BUGFIX] Use correct content types in backend ajax and eID responses
Due to the recent changes in the commit: e487cf52 [TASK] Create own response instance in controller actions ..ajax routes and eID handlers that used a *pre-generated* Response object (from the RequestHandler) now return different Content-Type headers than before. For backend ajax request applicaton/json was set by default, for eID scripts no Content-Type was set (by default). Change these controllers to use JsonResponse or a plain Response to reflect the previous state.. The changes in this commit were intended to be squashed into the mentioned commit – but this commit was too late. Therefore other (a bit) unrelated optimizations to changes that patch made are included. Change-Id: Icfdcd02d353dfaf48ad959c50be4802349eaaacd Releases: master Resolves: #83946 Related: #83939 Reviewed-on: https://review.typo3.org/55766 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php 1 addition, 4 deletions...kend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php
- typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php 1 addition, 2 deletions...ses/Backend/ToolbarItems/SystemInformationToolbarItem.php
- typo3/sysext/backend/Classes/Controller/ContextHelpAjaxController.php 1 addition, 1 deletion.../backend/Classes/Controller/ContextHelpAjaxController.php
- typo3/sysext/backend/Classes/Controller/File/FileController.php 1 addition, 1 deletion...sysext/backend/Classes/Controller/File/FileController.php
- typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php 1 addition, 1 deletion...lasses/Controller/FileSystemNavigationFrameController.php
- typo3/sysext/backend/Classes/Controller/OnlineMediaController.php 1 addition, 2 deletions...sext/backend/Classes/Controller/OnlineMediaController.php
- typo3/sysext/backend/Classes/Controller/Page/LocalizationController.php 6 additions, 5 deletions...ackend/Classes/Controller/Page/LocalizationController.php
- typo3/sysext/backend/Classes/Form/Wizard/ImageManipulationWizard.php 3 additions, 3 deletions...t/backend/Classes/Form/Wizard/ImageManipulationWizard.php
- typo3/sysext/core/Classes/Controller/FileDumpController.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Controller/FileDumpController.php
- typo3/sysext/frontend/Classes/Controller/ShowImageController.php 6 additions, 4 deletions...ysext/frontend/Classes/Controller/ShowImageController.php
- typo3/sysext/rsaauth/Classes/Controller/RsaPublicKeyGenerationController.php 7 additions, 3 deletions...h/Classes/Controller/RsaPublicKeyGenerationController.php
- typo3/sysext/rsaauth/Classes/RsaEncryptionEncoder.php 5 additions, 1 deletiontypo3/sysext/rsaauth/Classes/RsaEncryptionEncoder.php
- typo3/sysext/taskcenter/Classes/TaskStatus.php 3 additions, 3 deletionstypo3/sysext/taskcenter/Classes/TaskStatus.php
Please register or sign in to comment