[BUGFIX] No CORS Error in WS preview 43/56843/3
authorAlexander Opitz <opitz.alexander@googlemail.com>
Thu, 3 May 2018 10:35:30 +0000 (12:35 +0200)
committerBenni Mack <benni@typo3.org>
Fri, 11 May 2018 04:51:32 +0000 (06:51 +0200)
commit9f1e15486bd4de700649bd84491831dea4431c4a
tree15ba1765c5b9ffeed5a20bcf8559bdedbeac6dd6
parent37ece89c3ddca4607781a68fda120ff880174dfe
[BUGFIX] No CORS Error in WS preview

We should not manipulate document.domain in workspace preview as we need
to communicate with our parent master window.

Releases: master, 8.7
Resolves: #78401
Change-Id: Id3f581545a5547ca4ab8c46ee204b1c947ff6e56
Reviewed-on: https://review.typo3.org/56843
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/workspaces/Classes/Controller/PreviewController.php
typo3/sysext/workspaces/Classes/Controller/ReviewController.php
typo3/sysext/workspaces/Classes/Middleware/WorkspacePreview.php
typo3/sysext/workspaces/Resources/Private/Templates/Preview/Index.html