Actions
Bug #105717
closedcolumnsOnly parameter lost on record_edit after redirect
Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Link Handling & Redirect Handling
Target version:
Start date:
2024-11-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Routing
Complexity:
Is Regression:
Sprint Focus:
Description
The columnsOnly
parameter of SHAREABLE_URL
-URIs to record_edit
is removed after redirect(XSS/CSRF protection).
Most probably columnsOnly
parameter was not taken into account on https://github.com/TYPO3/typo3/commit/fa51999203c5e5d913ecae5ea843ccb2b95fa33f
Suggested solution:
/**
* Main form rendering script
* By sending certain parameters to this script you can bring up a form
* which allows the user to edit the content of one or more database records.
*/
'record_edit' => [
'path' => '/record/edit',
'target' => Controller\EditDocumentController::class . '::mainAction',
'redirect' => [
'enable' => true,
'parameters' => [
'edit' => true,
'columnsOnly' => true,
],
],
],
Updated by Gerrit Code Review 6 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87449
Updated by Gerrit Code Review 6 months ago
Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87463
Updated by Benni Mack 6 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset df26f30c757735a42453bb12897ea6df86086d3f.
Actions