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

docfx serve does not find index.html in percent-encoded directory #7369

Closed
KalleOlaviNiemitalo opened this issue May 17, 2021 · 0 comments
Closed
Labels
static-site Produce static HTML output ready for publishing to hosts like GitHub pages

Comments

@KalleOlaviNiemitalo
Copy link

Operating System: Windows

DocFX Version Used: 2.57.2

Template used: None

Steps to Reproduce:

  1. MKDIR yleistä
  2. ECHO haha>yleistä\index.html
  3. docfx serve .
  4. Browse to http://localhost:8080/yleist%C3%A4/index.html
  5. Note that the Web browser correctly displays haha.
  6. Browse to http://localhost:8080/yleist%C3%A4/

Expected Behavior:

  1. The Web browser displays haha again.

Actual Behavior:

  1. The Web browser displays a directory listing.

Cause:

src/docfx/docfx.csproj references Microsoft.Owin.StaticFiles/3.0.1, which has the bug aspnet/AspNetKatana#371. This has been fixed in Microsoft.Owin.StaticFiles/4.2.0.

@yufeih yufeih added the static-site Produce static HTML output ready for publishing to hosts like GitHub pages label Dec 15, 2022
@yufeih yufeih closed this as completed Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
static-site Produce static HTML output ready for publishing to hosts like GitHub pages
Projects
None yet
Development

No branches or pull requests

2 participants