You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Make basePath a module-level variable (like BUILD_ID) instead of
threading it through asset()/assetSrcSet() parameters. The public
API no longer exposes basePath — it's set once via setBasePath()
during app.handler() initialization.
2. Guard applyBasePath against double-prefixing — if the path already
starts with basePath, return it unchanged.
3. Improve basePath validation — use URL round-trip check instead of
an incomplete character regex, catching all invalid path characters.
4. Island CSS paths confirmed safe — they are root-relative from the
build system and never include basePath, so applyBasePath (now via
asset()) is correct.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments