HarperFast/harper

Incorrect logic for matching index.html

Open

#297 ouverte le 29 mars 2026

Voir sur GitHub
 (4 commentaires) (0 réactions) (1 assigné)JavaScript (7 forks)github user discovery
good first issue

Métriques du dépôt

Stars
 (75 stars)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur