Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh error due to double encoding in verticalUrl (#836)
* Fix error after refresh due to double encoding in verticalUrl - URLSearchParams set() encoded verticalUrl even though it's already encoded since it's extracted from window's URL pathname. updated to append to the param string - replace() only update the first instance unless a global modifier is used (e.g. this would cause refresh issue on mulilang site for verticalUrl as 'es/help_articles'. updated to replaceAll J=SLAP-1376 TEST=manual Launched multilang site with iframe data-path directed to a page with spaces in its names. Confirmed refresh and back/forward nav works accordingly. Co-authored-by: Yen Truong <[email protected]>
- Loading branch information