Fix building explore url with % character
This commit is contained in:
@@ -44,6 +44,7 @@ export function renderUrl(path: string, query: UrlQueryMap | undefined): string
|
||||
|
||||
function encodeURIComponentAsAngularJS(val: string, pctEncodeSpaces?: boolean) {
|
||||
return encodeURIComponent(val)
|
||||
.replace(/%25/gi, '%2525')
|
||||
.replace(/%40/gi, '@')
|
||||
.replace(/%3A/gi, ':')
|
||||
.replace(/%24/g, '$')
|
||||
|
||||
Reference in New Issue
Block a user