Skip to content
This repository was archived by the owner on Jun 25, 2022. It is now read-only.

Ignore directories in disk resolver#241

Merged
markbates merged 1 commit intogobuffalo:masterfrom
Lesterpig:fix_http_index
Sep 30, 2019
Merged

Ignore directories in disk resolver#241
markbates merged 1 commit intogobuffalo:masterfrom
Lesterpig:fix_http_index

Conversation

@Lesterpig
Copy link
Contributor

The disk resolver was the only one that returned directories as box
files. This modification allows http redirections of index.html to
work when working with the default disk resolver.

A test case has been added to verify http's behavior when working with
the disk resolver.

Fix #162
Fix #211
Fix #235

The disk resolver was the only one that returned directories as box
files. This modification allows http redirections of index.html to
work when working with the default disk resolver.

A test case has been added to verify http's behavior when working with
the disk resolver.

Fix gobuffalo#162
Fix gobuffalo#211
Fix gobuffalo#235
@markbates markbates merged commit 0f1e543 into gobuffalo:master Sep 30, 2019
@markbates
Copy link
Member

Thanks! Released in v2.7.0.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

index.html handling issues Implementation of http.File and http.FileSystem doesn't handle directories correctly packr2: file Readdir returns self

2 participants