Skip to content

Moving middleware to before SiteResolver #4

Description

@sorenmalling

With site configs with a base such as

domain.tld/rootpage

A request to

domain.tld/rootpage/

will currently return a "site not found"

Moving the de-slash middleware to before typo3/cms-frontend/site would make the final requested uri be corrected earlier in the middleware chain.

My (un-tested) guess is that will also provide a situation for the redirect handler, where the entry path is always known to be without a trailing slash and all other cases where the URI is used

Ideas, thoughts?

I have a live setup where I will test this idea

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