Issue Bug Closed

#105717columnsOnly parameter lost on record_edit after redirect

Rafael Kähm 11/27/24, 19:23 updated 08/12/25, 14:36

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:

https://github.com/TYPO3/typo3/blob/9de9b6928993c1d752e1fc1b5f65160f8661f4ad/typo3/sysext/backend/Configuration/Backend/Routes.php#L258-L272

    /**
     * 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,
            ],
        ],
    ],

Reviews 2

History 24

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2024-12-11T20:20:09+00:00" > 12/11/24, 20:20 </span>

    Applied in changeset commit:df26f30c757735a42453bb12897ea6df86086d3f.