Project

General

Profile

Actions

Bug #7663

closed

Limit parameter is not working in events

Added by Rajmund Hruška over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
07/12/2023
Due date:
% Done:

100%

Estimated time:
To be discussed:
No

Description

The queries like /mentat/api/events/search?submit=Search&source_addrs=<SRC_IP>&limit=100&dt_from=<DATETIME> are not working anymore, the returned value is "form_errors":[["limit","Not a valid choice."]]

The same goes for GUI, but no events are shown at all.

Actions #1

Updated by Rajmund Hruška over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Rajmund Hruška
  • % Done changed from 0 to 100

Solved in 0770e3dd.

In GUI, if 'limit' is not a valid integer, no events are shown. But 'limit' is not meant to be used in the GUI and passing the invalid value means adding the parameter in the URL which is not expected from a regular user.

Actions #2

Updated by Rajmund Hruška over 1 year ago

  • Status changed from Resolved to In Review
Actions #3

Updated by Rajmund Hruška over 1 year ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF