HarperFast/harper

Incorrect logic for matching index.html

Open

#297 opened on 2026年3月29日

GitHub で見る
 (4 comments) (0 reactions) (1 assignee)JavaScript (7 forks)github user discovery
good first issue

Repository metrics

Stars
 (75 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド