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
Apparently: The filename is always optional and must not be used blindly by the application: path information should be stripped, and conversion to the server file system rules should be done.
the issue here is how to upload array of files like the following,
curl -X POST http://localhost:80/upload -F "images[]=@/home/amp/hack/property1.jpg" -F "images[]=@/home/ack/property2.jpeg" -H "Content-Type: multipart/form-data"
you cant with my code as it stands it cant support multiple file uploads...
Apparently: The filename is always optional and must not be used blindly by the application: path information should be stripped, and conversion to the server file system rules should be done.
the issue here is how to upload array of files like the following,
curl -X POST http://localhost:80/upload -F "images[]=@/home/amp/hack/property1.jpg" -F "images[]=@/home/ack/property2.jpeg" -H "Content-Type: multipart/form-data"
you cant with my code as it stands it cant support multiple file uploads...
gin-gonic/gin#774
The text was updated successfully, but these errors were encountered: