Actions will not be executed when post_max_size is exceeded.
|Reported by:||aszepeshazi||Owned by:||mrclay|
|Severity:||minor||Keywords:||post_max_size, exceeded, actions|
Description (last modified by brettp)
When a http post request was made with a total size > php post_max_size, the called action doesn't have a chance to handle this exception gracefully. Instead the core action handler will redirect the user and display the message "Form is missing token or ts fields", which is rather confusing for the end user.
The reason for this is, quoting from php manual: "If the size of post data is greater than post_max_size, the $_POST and $_FILES superglobals are empty." Meaning also no elgg_token and elgg_ts values.
Plugins should have the possibility to gracefully handle this event.
Change History (22)
comment:4 Changed 2 years ago by cash
- Milestone changed from Elgg 1.8 to Elgg 1.8.1
- Resolution fixed deleted
- Status changed from closed to reopened
comment:17 Changed 12 months ago by Steve Clay
- Resolution set to fixed
- Status changed from assigned to closed