@astrojs/internal-helpers@0.10.4
withastro/astro@astrojs/internal-helpers@0.10.4Aug 19, 2026by astrobot-houston
AI Summary
Fixes routing logic for base paths to ensure correct path handling and consistency between routing and URL contexts.
Key Highlights
- Fixes base path stripping to respect path-segment boundaries.
- Ensures routing and `context.url.pathname` agree with configured base paths.
Full Release Notes
### Patch Changes - [#17701](https://github.com/withastro/astro/pull/17701) [`05763a0`](https://github.com/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527) Thanks [@matthewp](https://github.com/matthewp)! - Fixes base path stripping to respect path-segment boundaries. With a configured `base` such as `/docs`, a request like `/docs-archive/page` is no longer treated as being under the base, so routing and `context.url.pathname` now agree on the same pathname.