Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Rogozhnikov <roman@ilert.com>2020-07-29 11:47:02 +0300
committerRoman Rogozhnikov <roman@ilert.com>2020-07-29 11:47:02 +0300
commit46dfefc55d196ba48b8337b0d90c032e5a6096c2 (patch)
treeadb675ed93977e66d9955bb90d8f52d8bc205b43 /templates
parent59743622bb8d351990be5ec07c32e88799d60715 (diff)
.........T [ZBXCTR-10] fix url encoding
Diffstat (limited to 'templates')
-rw-r--r--templates/media/ilert/media_ilert.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/media/ilert/media_ilert.xml b/templates/media/ilert/media_ilert.xml
index e91755a9933..a50be309cb7 100644
--- a/templates/media/ilert/media_ilert.xml
+++ b/templates/media/ilert/media_ilert.xml
@@ -200,7 +200,7 @@
delete params['.ILERT.ALERT.SOURCE.KEY'];&#13;
&#13;
var ilertApiBaseURL = &quot;https://api.ilert.com&quot;;&#13;
- var reqURL = ilertApiBaseURL + &quot;/api/v1/events/zabbix-mt/&quot; + alertSourceKey&#13;
+ var reqURL = encodeURI(ilertApiBaseURL + &quot;/api/v1/events/zabbix-mt/&quot; + alertSourceKey)&#13;
&#13;
var incidentKey = &quot;zabbix-&quot; + params['EVENT.ID'];&#13;
var incidentViewURL = ilertApiBaseURL + &quot;/api/v1/incidents/resolve-ik/&quot; + alertSourceKey + &quot;/&quot; + incidentKey;&#13;