Post Alzk6MKrMveE5vh5O4 by tochu_cha@mstdn.jp
(DIR) More posts by tochu_cha@mstdn.jp
(DIR) Post #AlzjkUftgOlRaV6juy by grunfink@comam.es
2024-09-14T13:00:44Z
0 likes, 0 repeats
Hello. You were right; there was a bug in the form data processing code that made snac crash. I just uploaded a fix for this to the git repository.Specifically, it crashed because it could not find a \r (carriage return) as a separator; HTTP multipart/form-data should use \r\n as separators. The example you sent me uses only \n, but that could be because the email transport could have changed it, so I'm not completely sure if the crash was totally fixed.Anyway, snac should never crash on any external input on any case, so this is a bug on my part.Thank you very much for reporting and helping me make snac a better program.
(DIR) Post #Alzk6MKrMveE5vh5O4 by tochu_cha@mstdn.jp
2024-09-14T13:04:37Z
1 likes, 0 repeats
@grunfink Thank you for your maintaining.
(DIR) Post #AlzmbZT4nB2Ri4Y1hY by stefano@mastodon.bsd.cafe
2024-09-14T13:32:01Z
1 likes, 0 repeats
@grunfink "snac should never crash on any external input on any case" - this is the right approach to programming, IMHO. Thank you!
(DIR) Post #Alznd9QuezZjUtqxcG by 45H@exquisite.social
2024-09-14T13:43:42Z
1 likes, 0 repeats
@grunfink @stefano amazing take on programming! Thank you for reminding me how software should behave. :ablobwavereverse: