You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: catalog URL validation accepts control characters and malformed percent escapes #26
a URL containing a literal NUL in its path: Python string 'https://example.org/a\x00b' (JSON representation uses \u0000).
The tool's contract lists malformed HTTPS URLs as errors. urlsplit() separates components but is not a complete URL validator; checking whitespace and a few delimiters does not cover these inputs. The generated document can therefore contain a malformed destination despite a structural PASS.
Priority / scope
P2 correctness. This is not a request for network fetching, redirect checks, a destination-security score, or a full internationalized-URL implementation.
Acceptance
Define the supported URL syntax explicitly and reject raw control characters and invalid percent-escape sequences before normalization/rendering.
Add regressions for literal NUL/other controls, %ZZ, incomplete % escapes, and valid percent-encoded paths.
Preserve meaningful query strings, supported IPv6 URLs and current duplicate-source normalization behavior.
Do not accidentally forbid fragments in the core catalog: its existing contract intentionally ignores them for duplicate-source detection.
Run the full catalog tests, regeneration/check and repository checks.
Activity
fix: harden JSON, URLs, Markdown and control contrast (#24 #25 #26 #27 …