Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 555
    • Issues 555
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #2776
Closed
Open
Created Aug 08, 2013 by Tim@almere

Filters check

If you change the value of the filter ( inspect element chrome, and than change the value of the select box ) to "-1", you will get the mysql error what meanse bad validation of the incoming data...

Solution:

file: /usr/local/ispconfig/interface/lib/classes/listform.inc.php

Function: getPagingSQL

After code ( line ~197 ): if(!empty($_POST['search_limit']) AND $app->functions->intval($_POST['search_limit'])){ $_SESSION['search']['limit'] = $app->functions->intval($_POST['search_limit']); }

Add: if(preg_match('{^[0-9]$}',$_SESSION['search']['limit'])){ $_SESSION['search']['limit'] = 15; }

Assignee
Assign to
Time tracking