Skip to content

x/website: displays the content of the index.html file instead of the file list #64754

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

Closed
LionelMartin opened this issue Dec 15, 2023 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite website
Milestone

Comments

@LionelMartin
Copy link

What is the URL of the page with the issue?

https://go.dev/src/net/http/testdata/

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0

Screenshot

image

What did you do?

Just getting on the page

What did you expect to see?

a list of files in testdata/

What did you see instead?

the content of probably an index.html file

@LionelMartin LionelMartin changed the title net/http/testdata/index.html: displays the content of the index.html file instead of the file list x/pkgsite: displays the content of the index.html file instead of the file list Dec 15, 2023
@gopherbot gopherbot added this to the Unreleased milestone Dec 15, 2023
@LionelMartin LionelMartin changed the title x/pkgsite: displays the content of the index.html file instead of the file list x/website: displays the content of the index.html file instead of the file list Dec 15, 2023
@mauri870
Copy link
Member

Huh, there is an index.html inside testdata and the webserver is configured to open index.html automatically.

There is not much to browse inside testdata though, so I'm not sure if there is anything to fix really.

/cc @golang/tools-team per https://dev.golang.org/owners

@mauri870 mauri870 added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Dec 15, 2023
@suzmue
Copy link
Contributor

suzmue commented Dec 19, 2023

That directory was added to test that the fileserver will serve the index.html file if it exists (https://golang.org/cl/4798071), so appears to be WAI. As @mauri870 mentioned, there's not much to browse so it probably is not worth trying to do anything special about it.

@suzmue suzmue closed this as completed Dec 19, 2023
@golang golang locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite website
Projects
None yet
Development

No branches or pull requests

4 participants