You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From #11381 — it's unlikely but conceivable that someone would want to set a body size limit of zero. More to the point, it's arguably a bit weird that '0' actually means 'Infinity'.
It's also reasonable that someone would want to do something like BODY_SIZE_LIMIT=1e6 to express 'a megabyte'.
Describe the proposed solution
Allow any numeric JavaScript value, using parseFloat. Error if this results in NaN.
The text was updated successfully, but these errors were encountered:
Describe the problem
From #11381 — it's unlikely but conceivable that someone would want to set a body size limit of zero. More to the point, it's arguably a bit weird that '0' actually means 'Infinity'.
It's also reasonable that someone would want to do something like
BODY_SIZE_LIMIT=1e6
to express 'a megabyte'.Describe the proposed solution
Allow any numeric JavaScript value, using
parseFloat
. Error if this results inNaN
.The text was updated successfully, but these errors were encountered: