diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2024-09-16 07:28:28 +0000 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2024-09-16 07:28:28 +0000 |
| commit | a09e5052ddd8df423332ada814e743893878e0b9 (patch) | |
| tree | 732e4a923354f64614991c46fe264b7e0e78ef1e /xs_url.h | |
| parent | b3c00cc09871433882e97a9f5d07882dd1bcfec8 (diff) | |
| parent | ba5cbb6d828165a43826c6afdd71fa2edbdca302 (diff) | |
Merge pull request 'URL decode data after splitting the arguments' (#196) from ndagestad/snac2:mastodon_login into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/196
Diffstat (limited to 'xs_url.h')
| -rw-r--r-- | xs_url.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ xs_dict *xs_url_vars(const char *str) const xs_val *v; xs_list_foreach(args, v) { - xs *kv = xs_split_n(v, "=", 1); + xs *kv = xs_split_n(xs_url_dec(v), "=", 1); if (xs_list_len(kv) == 2) { const char *key = xs_list_get(kv, 0); |