HarperFast / HarperFast/harper

Incorrect logic for matching index.html

Open
#297 4 comments 0 reactions 1 assignee Claimed by @Ethan-Arrowood View on GitHub
good first issue
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

The static default index file matcher uses logic of `urlPath.endsWith('index.html')` which means it not only matches index.html, but also another-index.html, wrong-index.html, and really-wrong-index.html. And picks a winner in somewhat unpredictable fashion.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.