Skip to content

DataSourceRequest parameters not validated #7353

@gyankov

Description

@gyankov

Bug report

Currently the DataSourceRequestModelBinder does not validate the parameters when casting their values. Thus, when an invalid value is supplied, an exception is thrown.

Reproduction of the problem

Send a request with pageSize parameter that exceeds the maximum int value.

Current behavior

Value was either too large or too small for an Int32 is thrown.

Expected/desired behavior

No exception should be thrown.

Environment

  • Kendo UI version: 202x.r.ddd
  • jQuery version: x.y
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions