Review main Merged

63349[BUGFIX] Allow multiple mountpoints with the same slug

Patrick Broens CR +2 V +2 Normal +102 −17 updated 04/16/20, 10:16

Commit message

When having a multisite setup using the same slugs pointing to the same
or other different mounted pages, the PageSlugCandidateProvider will
always fetch the information of the first page found in the database
which complies with the slug. In some cases this will be the right page,
but in other cases will be a page which is not part of the requested
website. In the last case this will result in a 404.

This patch fixes this by checking if the slug is from the site being
called.

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 4