Review main Merged

61838[BUGFIX] Ensure correct site is used when redirecting

Andreas Kienast CR +2 V +2 Easy +35 −8 updated 09/28/19, 14:06

Commit message

The RedirectService recives a NullSite instance from the current
request. This patch checks whether the redirect target is a page and
fetches its site configuration to be able to create a proper TSFE
instance.

Also, the TSFE instance now does not fetch any template configuration
anymore as it is rather extraneous for a redirect.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5