-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.3, 3.2.5
-
MOODLE_30_STABLE, MOODLE_32_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-53501-master -
Yesterday we received a message from a Moodle admin that couldn't login in her site using the Moodle Mobile app. We checked what was going on and we found out that the get_site_info WS was returning this error:
usermaxuploadfilesize => Invalid response value detected: Invalid external api response: the value is "10485760000", the server was expecting "int" type
|
This value comes from this setting:
Site Administration > Security > Site Policies > Maximum uploaded file size
The max value of the setting depends on the server configuration, so it can overflow an integer and cause the WS to fail.
- Testing discovered
-
MDL-60664 Check PHP_INT_MAX when storing numeric fields coming from site settings
- Closed