Skip to content

BUGFIX: Resource URIs rendered as "<host>_Resources/..." without slash - #73

Merged
t-heuser merged 1 commit into
mainfrom
bugfix/invalid-url
Oct 16, 2026
Merged

t-heuser merged 1 commit into
mainfrom
bugfix/invalid-url

Conversation

@t-heuser

Copy link
Copy Markdown
Contributor

Fix broken resource URIs for documents rendered through NodeRenderingUriService.

buildControllerContextAndSetBaseUri() set only the routing base URI. FileSystemTarget then built resource URIs as _Resources/... (no slash between them) and cached that for the rest of the process, so every later document got the same broken host.

The fix sets the site's domain as the override on MultisiteFileSystemSymlinkTarget collections, or / when useRelativeResourceUris is on. It only does this when no override is set yet, so callers that set one explicitly keep it.

@t-heuser t-heuser self-assigned this Oct 16, 2026
@t-heuser
t-heuser merged commit ecf306c into main Oct 16, 2026
2 of 3 checks passed
@t-heuser
t-heuser deleted the bugfix/invalid-url branch October 16, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant