Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
8.4.4, 11.3
-
Unknown
-
Description
The xwikiRelativeUrl property has been introduced by XWIKI-3346 in XWiki 1.8. It's not easy to determine when we broke it but right now its value is an absolute URL. You can check with:
- /xwiki/rest/wikis/xwiki/spaces/Sandbox/
- /xwiki/rest/wikis/xwiki/spaces/Sandbox/pages/WebHome
- /xwiki/rest/wikis/xwiki/spaces/Sandbox/pages/WebHome/attachments
The issue seems to be related to the fact that ExternalServletURLFactory is put on the XWiki context and it always returns an absolute URL (as its name suggests).
Attachments
Issue Links
- is related to
-
XWIKI-16347 Create a generic attachment picker
- Closed
-
XWIKI-3346 Provide relative and external web URLs in REST page resources
- Closed