Commit graph

13 commits

Author SHA1 Message Date
default
5402d03f17 Fixed minor memory leak. 2024-09-16 09:32:22 +02:00
Nicolai Dagestad
ba5cbb6d82 URL decode data after splitting the arguments
Data decoding should happen after the parsing if not, a '?', '&', '#'
or other character decoded will interfere with the parsing. e.g. the
users password contains a '&', then it is truncated on that character,
and login will fail.
2024-09-15 18:39:49 +02:00
default
7e85cd570d Fixed crash in xs_multipart_form_data(). 2024-09-14 14:43:22 +02:00
default
0218e964b0 Backport from xs. 2024-08-30 19:10:26 +02:00
default
88fc843d3e Use xs_between() where applicable. 2024-08-05 18:39:15 +02:00
Louis Brauer
af8f1ef273 Implement image uploads for Tokodon 2024-05-29 11:53:34 +02:00
Louis Brauer
45a2aab66c Fix parsing of boundary for multipart/form-data 2024-05-28 02:15:53 +02:00
default
a292080000 Backport from xs (fix regex.h compilation with tcc). 2024-05-25 08:24:08 +02:00
default
8cf7559a7e Added more const. 2024-05-23 10:01:37 +02:00
default
4777fc86cb Added const everywhere. 2024-05-21 14:12:15 +02:00
default
0275658a36 Backport from xs. 2024-04-14 19:26:49 +02:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
eb8430d461 Added forgotten header. 2023-09-25 18:25:53 +02:00