#3148 closed defect (bug) (fixed)
Convertor: Validate the received value for 'Rows Limit"
| Reported by: | jrf | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | high | Milestone: | 2.5.14 |
| Component: | API - Importers | Version: | 2.5 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 6661: