Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from May 21, 2020

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.

None yet

2 participants