Changes since 24.9.19
Fixes
-
Encode location query parameter in init request to preserve + (#24089) (CP: 24.10) (#24414) (CP: 24.9)
Commit · Pull requestThis PR cherry-picks changes from the original PR #24414 to branch 24.9. --- #### Original PR description > Re-add encodeURIComponent() around the location parameter in the init request query string. Without encoding, a literal + in the URL path (e.g. /+/dashboard) is interpreted as a space by the servlet container's query parameter decoding, resulting in InvalidLocationException: Relative path cannot start with / > > The encodeURIComponent was removed in #22791 to preserve %2F in wildcard parameters, but this is not needed: double-encoding (%2F becomes %252F) is correctly undone by the servlet's single query parameter decode. >