[ZBX-16173] Links doesn't work in HTML event emails in Zabbix 4.2 Created: 2019 May 27 Updated: 2019 Jun 04 Resolved: 2019 May 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.2.1 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Minor |
Reporter: | Peter Danko | Assignee: | Aleksandrs Petrovs-Gavrilovs |
Resolution: | Workaround proposed | Votes: | 0 |
Labels: | email, event, html, links | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Running on OS: In virtualization. |
Attachments: | attachment.zip |
Description |
Steps to reproduce:
Result: Use links: This one not: &itemids[]=63205 The same is with links to images which are used in HTML emails...
|
Comments |
Comment by Aleksandrs Petrovs-Gavrilovs [ 2019 May 28 ] |
Hello Alfista, We will look in to this. For now as a workaround, you can replace "&" symbol with "%26" starting with the 4th "&". i.e. replace this url:
http://IP/zabbix/index.php?name=user&password=passwd&enter=Sign%20in&request=tr_events.php?triggerid={TRIGGER.ID}&eventid={EVENT.ID}
with this:
http://IP/zabbix/index.php?name=user&password=passwd&enter=Sign%20in&request=tr_events.php?triggerid={TRIGGER.ID}%26eventid={EVENT.ID}
And the link should be working Best Regards, |
Comment by Peter Danko [ 2019 May 29 ] |
Hi Aleksandrs,
OK I will try it. |
Comment by Peter Danko [ 2019 May 30 ] |
Hi Aleksandrs,
now the links are working. Thats a great help. It was needed to change on all "&" after the replace parameter.
Thanks. |
Comment by Aleksandrs Petrovs-Gavrilovs [ 2019 May 30 ] |
Hello Alfista Glad I could be of help! Let us know if any other issues arise, but as for now I will be closing the ticket since the issue is solved. Best Regards, |
Comment by Peter Danko [ 2019 Jun 04 ] |
Thanks. |