Closed kattjevfel closed 5 years ago
The deed has been done!
inaba@japan:~$ curl -X POST -F "file=@NOT A VIRUS.bat" -H "token: JimmyCarr" http://localhost:3000/upload
{"status":200,"data":{"link":"http://localhost:3000/uploads/e5965aff7d66_NOT%20A%20VIRUS.bat","deleteionURL":"http://localhost:3000/delete/8709c191-11e4-11e9-ae6f-691a947b771d"}}
inaba@japan:~$
When uploading a file with spaces they are not replaced with %20, resulting in broken links like below.
Expected output would be https://u.lewd.se/833980f7a82e_file%20with%20spaces.svg