Since we are Content-Type: application/x-www-form-urlencoded encoding a scripts source this generates a larger transfer content size.
For example a script of actual size 782,701 Bytes can get expanded to 1,087,143 Bytes which renders an express page (e.g. not ours) of:
- We're not handling this failure gracefully... not sure that we can with body-parser :\
- Unable to fork scripts that are too large. (this is the main bug)
- Unable to change (too large of) scripts through the site editor... although upload a file works because it isn't urlencoded. (work-around)
Possibilities:
- There is a
verify property in body-parser that could be used in our code but we would need to up the limit significantly and check/process in the verify routine if the buffer to UTF-8 string was too big in correlation to the maximum_upload_script_size.
- ... (something else?)
Since we are
Content-Type: application/x-www-form-urlencodedencoding a scripts source this generates a larger transfer content size.For example a script of actual size 782,701 Bytes can get expanded to 1,087,143 Bytes which renders an express page (e.g. not ours) of:
Payload Too LargePossibilities:
verifyproperty in body-parser that could be used in our code but we would need to up thelimitsignificantly and check/process in theverifyroutine if the buffer to UTF-8 string was too big in correlation to themaximum_upload_script_size.