chore: release v0.1.1#1
Merged
Merged
Conversation
ccba10f to
ab90140
Compare
MagicalTux
added a commit
that referenced
this pull request
Jun 30, 2026
…ip on 206 static_files.rs: - Reject any decoded path segment starting with `.` (dotfiles/dotdirs such as `.git/config`, `.env`); rejected paths now report 404 instead of 403 so existence is never confirmed (findings #1). - Range requests now seek+read only the requested span via `read_span` instead of buffering the whole file and copying a slice (finding #3). Full-file responses still buffer via `fs::read` (noted as deferred). - Emit `X-Content-Type-Options: nosniff` on 200 and 206 responses (finding #4). compress.rs: - Never compress `206 Partial Content` responses or any response carrying a `Content-Range` header, which would corrupt range semantics and can poison shared caches (finding #2). Adds tests: dotfile paths resolve to None / serve 404; 206 and Content-Range bodies are left uncompressed while ordinary bodies are still compressed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dbe9f95 to
e265a54
Compare
e265a54 to
11d0377
Compare
11d0377 to
5db00b7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 New release
httpsd: 0.1.0 -> 0.1.1 (✓ API compatible changes)Changelog
This PR was generated with release-plz.