-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.2.3
-
-
Empty show more show less
-
Yes
-
Basel 74
-
8
To reproduce (following setting is for 5.4.5 STK, but it is also reproducible on higher Magnolia versions):
- set www.test1.com and www.test2.com in the /etc/hosts file
- configure /server/filters/crossSite/resolvers for "demo-project" and "demo-features"
- using the link like http://www.test1.com:8080/magnoliaAuthor/demo-project/demo-features/content-templates/article should return 404, because there is no /demo-project/demo-features/content-templates/article
Notes
- The first part of the link (http://www.test1.com:8080/magnoliaAuthor/demo-project/) is correct, but the second part (/demo-features/content-templates/article) comes from a different site, which should be evaluated as non-existent and therefore receive 404. Now it renders the "demo-features" content (which is mapped to www.test2.com domain).
- "http://www.test1.com:8080/magnoliaAuthor/demo-project/foo" correctly receives 404 because there is not any "foo" page
Acceptance criteria
- duplicates
-
MAGNOLIA-6882 Remove legacy code that allows to access site with duplicate prefix in the url
- Closed
- relates to
-
MULTISITE-55 Re-evaluate cross site access rules
- Closed
-
MAGNOLIA-6388 Uri2RepositoryMapping.getHandle() allow cross site urls.
- Closed
- mentioned in
-
Page Loading...