#110052Non-admin users cannot edit short_url redirects
Description
Non-administrator backend users are unable to edit redirects of type short_url.
When a short_url redirect is edited and saved, the source_host value is not submitted with the request. During processing, DataHandlerPermissionGuardHook calls RedirectPermissionGuard->isAllowedRedirect(...) to validate permissions.
Inside RedirectPermissionGuard , the source_host is evaluated. Since it is missing from the submitted data, the code falls back to an empty string (‘’). The empty string is then checked against the configured allowedHosts , which causes the permission check to fail because '' is not a valid allowed host.
As a result, non-admin users cannot save changes to existing short_url redirects, even if they have the necessary permissions.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 3
History 10
-
Oliver Hader changed Related to #108826 <span data-processor="relativetime" data-value="2026-06-12T14:08:01+00:00" > 06/12/26, 14:08 </span>
-
Oliver Hader changed status
NewAccepted <span data-processor="relativetime" data-value="2026-06-12T14:08:37+00:00" > 06/12/26, 14:08 </span> -
Oliver Hader changed description <span data-processor="relativetime" data-value="2026-06-12T14:09:02+00:00" > 06/12/26, 14:09 </span>
-
Oliver Hader changed Related to #107963 <span data-processor="relativetime" data-value="2026-06-12T14:11:55+00:00" > 06/12/26, 14:11 </span>
-
Benni Mack changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2026-08-06T16:02:58+00:00" > 08/06/26, 16:02 </span>
-
Marno Schmigotzki changed Related to #109539 <span data-processor="relativetime" data-value="2026-08-07T12:14:32+00:00" > 08/07/26, 12:14 </span>
-
Marno Schmigotzki commented and changed status
AcceptedIn Progress assigned to Marno Schmigotzki <span data-processor="relativetime" data-value="2026-08-07T12:16:05+00:00" > 08/07/26, 12:16 </span>on it
-
Marno Schmigotzki commented and changed status
In ProgressUnder Review <span data-processor="relativetime" data-value="2026-08-07T14:26:41+00:00" > 08/07/26, 14:26 </span>This will be fixed with #109539. I added an additional test in the corresponding patch.
-
Benni Mack commented and changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2026-11-06T12:39:38+00:00" > 11/06/26, 12:39 </span>This is fixed now.
Seems like the security-related guards do not know yet about the newly introduced
redirect_type