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

Frontend doesn't validate sort parameter

XMLWordPrintable

      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]

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

              Created:
              Updated:
              Resolved: