This limit is **way** too short. If you want to prevent abuse, set the limit on the order of 512kb. Limiting reasonable lengths is just bad...