Skip to content

Disable directory path redirect when directory_listing=false#15393

Merged
straight-shoota merged 3 commits intocrystal-lang:release/1.15from
straight-shoota:fix/http-static-file-handler-directory-redirect
Feb 2, 2025
Merged

Disable directory path redirect when directory_listing=false#15393
straight-shoota merged 3 commits intocrystal-lang:release/1.15from
straight-shoota:fix/http-static-file-handler-directory-redirect

Conversation

@straight-shoota
Copy link
Member

Resolves #15390

@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:networking labels Jan 31, 2025
@straight-shoota straight-shoota self-assigned this Jan 31, 2025
@straight-shoota straight-shoota changed the title Add specs for current behaviour Disable directory path redirect when directory_listing=false Jan 31, 2025
Co-authored-by: Julien Portalier <julien@portalier.com>
@straight-shoota straight-shoota added this to the 1.15.1 milestone Jan 31, 2025
@straight-shoota straight-shoota merged commit 3cc12a8 into crystal-lang:release/1.15 Feb 2, 2025
69 checks passed
@straight-shoota straight-shoota deleted the fix/http-static-file-handler-directory-redirect branch February 2, 2025 13:11
@crysbot
Copy link
Collaborator

crysbot commented Feb 5, 2025

This pull request has been mentioned on Crystal Forum. There might be relevant details there:

https://forum.crystal-lang.org/t/crystal-1-15-1-is-released/7700/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:networking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP::StaticFileHandler returns 302 Found for directory requests missing trailing slash even when directory_listing: false

3 participants