Skip to content

Fix serach order for index.htm(l)(.gz) files#7069

Merged
devyte merged 1 commit intoesp8266:masterfrom
earlephilhower:indexorder
Feb 9, 2020
Merged

Fix serach order for index.htm(l)(.gz) files#7069
devyte merged 1 commit intoesp8266:masterfrom
earlephilhower:indexorder

Conversation

@earlephilhower
Copy link
Collaborator

Fixes #6984

When a directory index is requested with an explicit index.html, follow
the original webserver order and check for: index.htm, index.htm.gz,
index.html, index.html.gz, in order.

Fixes the regressions introduced in 9f2cfb8 and 6768116

Fixes esp8266#6984

When a directory index is requested with an explicit index.html, follow
the original webserver order and check for: index.htm, index.htm.gz,
index.html, index.html.gz, in order.

Fixes the regressions introduced in 9f2cfb8 and 6768116
@devyte devyte merged commit dbd7b82 into esp8266:master Feb 9, 2020
@devyte devyte added this to the 2.7.0 milestone Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebServer.serveStatic: index.html.gz as default doesn't work (while index.html does)

2 participants