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

Frontend doesn't validate sort parameter

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.3, 2.3.0
    • Fix Version/s: 2.3.3
    • Component/s: Frontend (F)

      Description

      For example this URL causes an error:

      http://localhost/~sasha/zabbix-svn/trunk/frontends/php/hostgroups.php?sort=flags

      Sorting by field "flags" not allowed. [hostgroups.php:333 ? CFrontendApiWrapper->get() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CHostGroup->get() ? CApiService->applyQuerySortOptions() in api/classes/CHostGroup.php:344]
      array_slice() expects parameter 1 to be array, boolean given [hostgroups.php:335 ? getPagingLine() ? array_slice() in include/func.inc.php:1574]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sasha Alexander Vladishev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: