Array input validation

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 4.0.4rc1
    • Component/s: 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

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

              Created:
              Updated: