Skip to content

Confine registry resource lookups to the configured root - #125

Merged
isudana merged 1 commit into
apache:masterfrom
ThisaraWeerakoon:f013-registry-key-resolution
Nov 10, 2026
Merged

isudana merged 1 commit into
apache:masterfrom
ThisaraWeerakoon:f013-registry-key-resolution

Conversation

@ThisaraWeerakoon

Copy link
Copy Markdown
Contributor

Resolve the lookup, entry-metadata, and directory-listing paths against the canonical, decoded target instead of the raw key string, and require the result to stay under the configured root. A key that would resolve outside it is now rejected.

Resolve the lookup, entry-metadata, and directory-listing paths against the
canonical, decoded target instead of the raw key string, and require the
result to stay under the configured root. A key that would resolve outside
it is now rejected instead of silently returning content from elsewhere.
@ThisaraWeerakoon
ThisaraWeerakoon force-pushed the f013-registry-key-resolution branch from 6fcd93f to b164c3a Compare November 9, 2026 09:54
@isudana
isudana merged commit cab7813 into apache:master Nov 10, 2026
1 check passed
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.

2 participants