mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
DataLinks: encoded URL fixed (#66418)
This commit is contained in:
parent
a576bd4f26
commit
4b3aead2d0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user