- Issue created by @Thony
🐛 AJAX Response Not Sanitized For Length Active or one of its related issues may be addressing this problem. Can you verify?
If you try to upload a file above Drupal limitation but within php.ini POST Content-Length, you l will get an informative error handled by Drupal, like 'the file you are trying to upload exceeds the limit [...]'
If you go above POST Content-Length the ajax call return a warning and you get the rather vague message :'Oops, something went wrong. Check your browser's developer console for more details.'
Of course, you can increase php.ini limits, but you might have other project constraints that prevent that.
Would it be possible for Drupal, to catch the error and display an error message in the same informative way ?
Active
10.5 ✨
ajax system
🐛 AJAX Response Not Sanitized For Length Active or one of its related issues may be addressing this problem. Can you verify?