Hello
I have a javascript bookmarklet i load by left clicking on map items to add extra functionally.
To make it work I have had to add "javascript" to ZBX_URI_VALID_SCHEMES in "zabbix/include/defines.inc.php"
Looks like that has been moved in the latest version.
I found "uri_valid_schemes" in "zabbix/include/schema.inc.php" and added ",javascript" to the end,
but my urls are still being rejected with the error message "Provided URL ... is invalid".
I ever restarted the Zabbix service for good measure.
Is there somewhere else i need to add this?
Or some other step I need to take?
Thanks.
I have a javascript bookmarklet i load by left clicking on map items to add extra functionally.
To make it work I have had to add "javascript" to ZBX_URI_VALID_SCHEMES in "zabbix/include/defines.inc.php"
Looks like that has been moved in the latest version.
I found "uri_valid_schemes" in "zabbix/include/schema.inc.php" and added ",javascript" to the end,
but my urls are still being rejected with the error message "Provided URL ... is invalid".
I ever restarted the Zabbix service for good measure.
Is there somewhere else i need to add this?
Or some other step I need to take?
Thanks.
Comment