Omni.Web returns 404 for /news/ trailing slash

t-617·WorkTask·
·
·
Created2 days ago·Updated2 days ago

Dependencies

Description

Edit

After simplifying Caddy to single reverse proxy, /news/ returns 404 while /news works. Root cause appears to be Omni.Web.stripPrefixRequest passing an empty trailing segment to Newsreader when handling /news/. Need normalize stripped path segments so both /news and /news/ route to Newsreader root.

Timeline (4)

🔄[human]Open → InProgress2 days ago
💬[human]2 days ago

Implemented fix in commit 51ad9f73: Omni.Web.stripPrefixRequest now filters empty segments after prefix stripping. This fixes /news/ (trailing slash) returning 404 after Caddy rewrite removal. Deployed ava via Omni/Ide/push.sh Omni/Ava/Core.hs and triggered deployer. Curl verification (local + funnel): 200 for /, /tasks, /news, /news/, /files, /files/, /health; /news/ content renders newsreader.

🔄[human]InProgress → Review2 days ago