๐๐ง ๏ผpercent-encode room aliases in matrix.to links - #883
Merged
Conversation
`#` is the fragment delimiter, so a second literal `#` inside the fragment is invalid per RFC 3986; the W3C validator rejects https://matrix.to/#/#openinf:matrix.org with "Illegal character in fragment". The Matrix spec asks for the same thing, requiring that matrix.to URI components "MUST be percent-encoded as per RFC 3986" and giving %23somewhere:example.org as the canonical form. SUPPORT.md is the copy that matters downstream: openinf.github.io imports it through its siteifyHealthFiles task, and the invalid URL fails that site's vnu validation. README.md carries the same defect and is fixed alongside it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
OpenINFbot
approved these changes
Aug 9, 2026
This was referenced Aug 9, 2026
Merged
DerekNonGeneric
added a commit
to OpenINF/openinf.github.io
that referenced
this pull request
Aug 10, 2026
First run since OpenINF/.github#883, #884, and #885 landed, so this picks up the percent-encoded matrix.to aliases, the absolute cross-document links, and the promoted heading levels. Each page is now its upstream file unchanged but for the frontmatter and the title heading the layout renders in its place. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Purpose
This PR contains the following:
Testing
These are two link reference definitions in Markdown documents; there is no code path to cover. Verified instead with the W3C validator (
vnu) against a page built from each form โ see below.Breaking Changes
The percent-encoded form resolves to the same rooms.
Description
#is the fragment delimiter, so a second literal#inside a URL fragment is invalid per RFC 3986. Both of our matrix.to links carry one:SUPPORT.md:44https://matrix.to/#/#openinf:matrix.orgREADME.md:252https://matrix.to/#/#openinf-space:matrix.orgRunning the W3C validator over both forms shows only the raw-
#one is rejected:The percent-encoded variant produces no diagnostic, and it is also what the Matrix spec asks for โ matrix.to URI components "MUST be percent-encoded as per RFC 3986", with
https://matrix.to/#/%23somewhere:example.orggiven as the canonical form. (The spec also notes clients should parse the unencoded form leniently, which is why these links still work today despite being invalid.)Why this matters beyond tidiness:
SUPPORT.mdis imported into openinf.github.io by itscompile.siteifyHealthFilestask, which renders it to/docs/dev/faq/support. That site'sverify.htmlValidForVNUtask now validates every built page rather than only the home page, and this URL is the one remaining error failing it. Since the imported copy is regenerated from this repository, the fix has to land here to hold.README.mdhas the same defect in a different room alias and is corrected alongside it โ happy to drop that hunk if you would rather keep this PR to the single downstream-blocking file.List of any relevant issue numbers: none