HarperFast/harper

Incorrect logic for matching index.html

Open

#297 aberto em 29 de mar. de 2026

Ver no GitHub
 (4 comments) (0 reactions) (1 assignee)JavaScript (7 forks)github user discovery
good first issue

Métricas do repositório

Stars
 (75 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador