Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/content/docs/en/guides/upgrade-to/v6.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,13 @@ If you have route files with `%25` in the filename, rename them to use a differe
src/pages/test%25file.astro
src/pages/test-file.astro
```
Astro v6 also changed how URLs and route parameters are handled at runtime.

`Astro.url` returns a normalized and partially decoded URL, so it may differ from `new URL(Astro.request.url)`.

`Astro.params` values are automatically decoded, and percent-encoded characters in pathnames or parameters (like `%25`) may appear decoded in `Astro.url` or `Astro.params`.

If you need the raw request URL with no decoding, use `Astro.request.url` and parse it manually.

### Removed: `astro:ssr-manifest` virtual module (Integration API)

Expand Down
Loading