Skip to content

fix: prevent HTTP/3 cache symlink traversal#854

Merged
ryanfowler merged 1 commit into
mainfrom
fix/http3-cache-symlink-pruning
Jul 12, 2026
Merged

fix: prevent HTTP/3 cache symlink traversal#854
ryanfowler merged 1 commit into
mainfrom
fix/http3-cache-symlink-pruning

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • restrict HTTP/3 cache pruning to the expected root/shard/file layout
  • skip symlinked roots, directories, and files
  • add coverage for directory symlinks, file symlinks, and symlink cycles

Validation

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --locked --all-features --lib http3_cache::tests::global_pruning_skips_directory_and_file_symlinks_and_cycles

@ryanfowler ryanfowler enabled auto-merge July 12, 2026 01:12
@ryanfowler ryanfowler merged commit 57f3ffd into main Jul 12, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix/http3-cache-symlink-pruning branch July 12, 2026 01:16
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