balderdashy / sails

Realtime MVC Framework for Node.js
https://sailsjs.com
MIT License
22.84k stars 1.95k forks source link

Long string presented as array in req.body #7262

Open serebriakov19 opened 1 year ago

serebriakov19 commented 1 year ago

When sending a large string to controller, in req.body I find an array, so this string is divided on many parts. String length is 10700 characters.

Node version: 16.15.1 Sails version (sails): 1.5.2 ORM hook version (sails-hook-orm): 3.0.2 Sockets hook version (sails-hook-sockets): 2.0.0 Grunt hook version (sails-hook-grunt): 1.0.4 Skipper version (e.g. skipper-s3@5.55.5): 0.9.1


sailsbot commented 1 year ago

@serebriakov19 Thanks for posting! We'll take a look as soon as possible.

In the mean time, there are a few ways you can help speed things along:

Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.

For help with questions about Sails, click here.

eashaw commented 1 year ago

Hi @serebriakov19, are you checking if req.body is a string?