Nemo D'ACREMONT
Nemo D'ACREMONT
I think this should really be merged @stevenmaguire, I spent two hours before coming to this PR and wasn't sure if I missconfigured my keycloak or my client, and btw...
Sorry for the late response, I'll test it soon, thanks for your reply.
After looking quickly, it seems like it's an expected behaviour to have CRLF : https://stackoverflow.com/questions/6963480/firefox-and-chrome-replacing-lf-with-crlf-during-post I feel like wastebin shouldn't alter the content of a file on upload or download
I'm currently going through the code, so I still don't know everything, but is it an issue ?
Oh ok it makes sense, I didn't get that and I kind of like the idea, isn't there any work around ?
If you want, I can try to add a PR and check if it works locally
Yeah no problem, I'll try
after struggling with rust (i'm not used to it), i found that : https://stackoverflow.com/questions/19349924/line-endings-in-a-form-textarea seems like it's not doable without js sadly, the HTML specs define the newline in textarea...
I've created a draft PR with what I wrote, it supports multipart forms, maybe it can save you some time, the rust code might not be the best
I've been thinking a little about it, and maybe we could use the api by default when javascript is enabled, and if it isn't, the onclick listener wouldn't be activated....