Skip to content

Use frontend URL instead of API URL in ShortcutAndMountPointRedirect #857

Description

@Digi92

Describe the bug
Hi,
i noticed that when ShortcutAndMountPointRedirect is triggered, the API URL is written in the redirect instead of the frontend URL.
I suspect that the function call getFrontendUrlWithSite was missing here.
Or is there a specific reason why this function is used in all other redirect locations, but not in this one?

I created a pull request with a change that works for me: #856

To Reproduce
Steps to reproduce the behavior:
In my case, the Forms RedirectFinisher endsup tobe generated by ShortcutAndMountPointRedirect as API Domain, instead of the FrontendDomain.

Expected behavior
The redirect should be always relativ of have the frontendDomains.

TYPO3 version and TYPO3 Headless version
TYPO3 12.4.39
Headless 4.7.3

Best regards
Digi92

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions