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

Array input validation

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.0.4rc1
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:

      Description

       

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: