Ad Widget

Collapse

Provided URL ... is invalid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lazylion.ca
    Junior Member
    • Apr 2018
    • 7

    #1

    Provided URL ... is invalid

    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.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2

    https://www.zabbix.com/documentation...tion/general?s[]=zbx&s[]=uri&s[]=valid&s[]=schemes

    Comment

    • lazylion.ca
      Junior Member
      • Apr 2018
      • 7

      #3
      Awesome. Thank you.
      I'm guessing now I don't have to modify it every time there is an update.

      Comment

      Working...