HarperFast/harper

Incorrect logic for matching index.html

Open

#297 geöffnet am 29. März 2026

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (7 Forks)github user discovery
good first issue

Repository-Metriken

Stars
 (75 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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