#3148 closed defect (bug) (fixed)
Convertor: Validate the received value for 'Rows Limit"
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.5.14 | Priority: | high |
Severity: | normal | Version: | 2.5 |
Component: | API - Importers | Keywords: | has-patch |
Cc: | johnjamesjacoby, jrf |
Description
According to the HTML, the row limit is supported to be between 1 and 5000.
Currently this value was not being validated, so negative values or very high values could be passed via a script or when a browser would disregard the min/max as indicated in the HTML.
As a best practice, input should be validated server side anyway.
This minor change adds the necessary validation and ensures that the value is always between 1 and 5000.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 6661: