Skip to content

fix: harden remote filename sanitization#837

Merged
ryanfowler merged 1 commit into
mainfrom
fix/remote-filename-sanitization
Jul 6, 2026
Merged

fix: harden remote filename sanitization#837
ryanfowler merged 1 commit into
mainfrom
fix/remote-filename-sanitization

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • reject Windows-forbidden characters in remote filenames across platforms
  • reject trailing spaces/dots and decoded slash separators in URL-derived names
  • add coverage for unsafe Content-Disposition and URL fallback cases

Validation

  • cargo fmt --check
  • cargo test --locked --all-features output::tests:: --lib

@ryanfowler ryanfowler enabled auto-merge July 6, 2026 14:10
@ryanfowler ryanfowler merged commit 538c74c into main Jul 6, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix/remote-filename-sanitization branch July 6, 2026 14:14
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