Skip to content

fix: accept only relative paths and HTTP(s) URLs for referenced files - #33

Merged
bfabio merged 1 commit into
mainfrom
file-scheme-case
Oct 19, 2026
Merged

bfabio merged 1 commit into
mainfrom
file-scheme-case

Conversation

@bfabio

@bfabio bfabio commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@bfabio
bfabio force-pushed the file-scheme-case branch 2 times, most recently from 87d98e2 to 636938f Compare October 19, 2026 12:58
@bfabio bfabio changed the title fix: reject file URLs regardless of scheme case fix: accept only relative paths and HTTP(s) URLs for referenced files Oct 19, 2026
The check rejected only a lowercase "file:" prefix, so "FILE:///path"
made the parser look up that path on the host. Every scheme other than
HTTP(s) is now rejected, in any letter case.
@bfabio
bfabio merged commit 5c43079 into main Oct 19, 2026
12 checks passed
@bfabio
bfabio deleted the file-scheme-case branch October 19, 2026 13:04
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