Skip to content

fix: support directory listings even if a 404 page is present#7339

Merged
Stebalien merged 1 commit intomasterfrom
fix/dir-listing-404
May 21, 2020
Merged

fix: support directory listings even if a 404 page is present#7339
Stebalien merged 1 commit intomasterfrom
fix/dir-listing-404

Conversation

@Stebalien
Copy link
Member

fixes #4233 (comment)

Basically, there's a trade-off here:

  1. We can support directory listings while supporting 404 pages (this PR).
  2. If a 404 page is present, directory listings don't work.

Given that option 1 is more flexible and users shouldn't be too confused if they land on a directory with no index.html page, I've gone with that option.

fixes #4233 (comment)

Basically, there's a trade-off here:

1. We can support directory listings while supporting 404 pages (this PR).
2. If a 404 page is present, directory listings don't work.

Given that option 1 is more flexible and users shouldn't be _too_ confused if
they land on a directory with no index.html page, I've gone with that option.
@Stebalien
Copy link
Member Author

cc @Lekensteyn @jphastings

@Stebalien Stebalien merged commit edcd118 into master May 21, 2020
@Stebalien Stebalien mentioned this pull request May 26, 2020
77 tasks
hacdias pushed a commit to ipfs/boxo that referenced this pull request Jan 27, 2023
fix: support directory listings even if a 404 page is present

This commit was moved from ipfs/kubo@edcd118
@hacdias hacdias deleted the fix/dir-listing-404 branch May 9, 2023 10:58
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.

2 participants