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
Improve URL handling with support for trailing slashes and special characters
This PR provides a more consistent approach to URL handling in Inertia responses by:
- Adding support for preserving trailing slashes in URLs
- Improving readability by decoding special characters in query parameters
- Maintaining compatibility with proxy prefixes
- Ensuring URL consistency for SEO and debugging
Previously, characters like slashes (%2F) and ampersands (%26) were encoded in the URL,
making debugging more difficult and causing inconsistencies between browser URLs and
Inertia history state URLs.
Comprehensive tests have been added for both trailing and non-trailing slash scenarios,
as well as specific tests for slash and ampersand handling in query parameters.
Resolves issues discussed in inertiajs#663
0 commit comments