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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}