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
The current behavior of urlObject.pathname = decodeURI(urlObject.pathname);
doesn't work as expected. Since URL automatically always encode any value that we set, according to https://developer.mozilla.org/en-US/docs/Web/API/URL
URLs are encoded according to the rules found in [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)
The current behavior of
urlObject.pathname = decodeURI(urlObject.pathname);
doesn't work as expected. Since URL automatically always encode any value that we set, according to https://developer.mozilla.org/en-US/docs/Web/API/URL
URLs are encoded according to the rules found in [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)
Example:
normalizeUrl('http://host.com/api/user/{userId}')
returns'http://host.com/api/user/%7BuserId%7D'
The text was updated successfully, but these errors were encountered: