Skip to content

Conversation

@cotti
Copy link
Contributor

@cotti cotti commented Nov 25, 2025

Closes #2264

(WIP, checking for more incorrect scenarios)

This PR fixes the following scenarios involving redirect sanitization:

Empty redirect targets

An incorrect input for the redirect target (such as a cross-link not registered in the link index) output an error, but didn't properly register one at the collector. This caused docs-builder to proceed, yielding an empty string as a resolved path.

At a later point in the assemble process, during key-value store updates, the redirect was being set as an empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redirects

2 participants