DataLinks: encoded URL fixed (#66418)

This commit is contained in:
Juan Cabanas
2023-04-26 10:46:21 -03:00
committed by GitHub
parent a576bd4f26
commit 4b3aead2d0
2 changed files with 2 additions and 2 deletions
@@ -421,7 +421,7 @@ export const getLinksSupplier =
if (href) {
href = locationUtil.assureBaseUrl(href.replace(/\n/g, ''));
href = replaceVariables(href, dataLinkScopedVars, VariableFormatID.PercentEncode);
href = replaceVariables(href, dataLinkScopedVars, VariableFormatID.UriEncode);
href = locationUtil.processUrl(href);
}
@@ -305,7 +305,7 @@ export class LinkSrv implements LinkService {
};
if (replaceVariables) {
info.href = replaceVariables(info.href, undefined, VariableFormatID.PercentEncode);
info.href = replaceVariables(info.href, undefined, VariableFormatID.UriEncode);
info.title = replaceVariables(link.title);
}