-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit file upload size option #2823
Conversation
* feature/2814: #2814 schedule deletes in cf2 fiel fields and cleanup that handler a bit #2814 schedule deletes #2814 handle deleting directory if empty Only try to delete file, if it exists #2814 Test to prove that the delete file job will make an uncaught exception in some cases #2814 Make new job for deleting tests work #2814 New job for deleting files #2814 - failing tests Make new utility methods needed for #2814 and #2794 work Failing tests for utility methods needed for #2814 and #2794 #2814 rm dead code and add inline docs to existing delete job
When a Max upload size is set the error "SyntaxError: "JSON.parse: unexpected character at line 1 column 1 of the JSON data" prevents the submission. It is an error that will be fixed by the index.js refactor, this PR is blocked by issue #2818 |
@New0 That sounds like a PHP error during submission. Please retest with PHP debug logging on and report what the error is or what the lack of error is. Please check for PHP errors when testing. |
#1399
I merged
feature/2814
(PR #2819). That PR should get merged first probably.This adds a UI option for max upload size for HTML5 file fields and adv file fields 2.0.
This checks server-side if adv file fields 2.0 size is too large and rejects.
We might wish to, in order of how much I care: