Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-15449

Array input validation

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.0.4rc1
    • Frontend (F)

       

      While modifying URL to fine tune to filter by ID user knew before hand, he experienced an error: "Argument 1 passed to isWritableHostTemplates() must be of the type array, string given,.." 

      Method isWritableHostTemplates signature accepts array. Runtime error is observed if user, tinkers with URL providing a non-array parameter where array is expected: templates.php?filter_templates=10093

            zabbix.dev Zabbix Development Team
            talbergs Mārtiņš Tālbergs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: