Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Fix external redirects with custom pageNotFound handler #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SomeBdyElse
Copy link

@SomeBdyElse SomeBdyElse commented May 5, 2019

Fix external redirects in multi-page, multi-domain setups with custom pageNotFound handlers.

Previously, external redirects for the non-default domain would fail.
A configuration of the defaultRootPageId is not always an, as possible root pages may depend on the current domain. The TSFE would then be created for page uid 1 (last fallback).
Page uid 1 is typically unavailable for domains other than the default domain. Therefore the fake TSFE is unable to determine its page id and output 404.

Defaulting the page uid 0 will allow the TSFE to determine the page id by domain records.

Fix external redirects in multi-page, multi-domain setups with custom pageNotFound handlers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant