HarperFast/harper

Incorrect logic for matching index.html

Open

#297 aperta il 29 mar 2026

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)JavaScript (7 fork)github user discovery
good first issue

Metriche repository

Star
 (75 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor