-
Bug
-
Resolution: Fixed
-
Neutral
-
5.4, 5.5
-
None
-
-
Empty show more show less
-
Kromeriz 74
-
3
Can be seen on the travel demo project: https://demopublic.magnolia-cms.com/travel/travel
This can be reproduced only by manually accessing such URL or by creating such a link deliberately.
handle = cleanHandle(handle); try { final Session session = MgnlContext.getJCRSession(this.repository); if (!session.itemExists(handle)) { String maybeHandle = (this.handlePrefix.endsWith("/") ? "/" : "") + StringUtils.removeStart(handle, this.handlePrefix); // prefix might have been prepended incorrectly. Second part of the condition is there to match links to binary nodes if (session.itemExists(maybeHandle) || (maybeHandle.lastIndexOf("/") > 0 && session.itemExists(StringUtils.substringBeforeLast(maybeHandle, "/")))) { return maybeHandle; } } } catch (RepositoryException e) { //Log the exception and return handle log.debug(e.getMessage(), e); } return handle;
This code causes that the first /travel is cleared from the url and the result of that is that page that does not exist under path /travel/travel is served.
- caused by
-
MAGNOLIA-4383 Images uploaded in fckEdit show 404 - Not Found
- Closed
- is causing
-
MULTISITE-71 Multisite serves the root page only if the site definition name matches the handlePrefix
- Closed
-
MAGNOLIA-7040 When requesting an URI that starts with the handle of an URI2RepositoryMapping, result is 404
- Closed
- is duplicated by
-
MULTISITE-63 Using site A prefix + node path from site B passes CrossSite filter
- Closed
-
MAGNOLIA-6388 Uri2RepositoryMapping.getHandle() allow cross site urls.
- Closed
- is related to
-
MAGNOLIA-6243 Inline rich text links don't work on public instances when using custom URL mappings
- Closed
-
MGNLDEMO-209 Client callback for travel-demo-pur yields 404
- Accepted
-
MULTISITE-69 MultisteFilter cleanURI is not taking into account all possible cases for site roots
- Closed
- relates to
-
MULTISITE-11 Path handle is stripped twice thus access to another site is sometimes possible
- Closed
- supersedes
-
MAGNOLIA-6176 Checking to see if prefix might have been prepended incorrectly is no longer needed
- Closed
- mentioned in
-
Page Loading...