diff options
| author | 2024-04-14 19:26:49 +0200 | |
|---|---|---|
| committer | 2024-04-14 19:26:49 +0200 | |
| commit | 0275658a3602f74035ff776dac8d8f64b9a2794f (patch) | |
| tree | d9489684e46d7cd0d5bd8347a880316abe22f48f /xs_url.h | |
| parent | Better redirection URL building in oauth_post_handler(). (diff) | |
| download | penes-snac2-0275658a3602f74035ff776dac8d8f64b9a2794f.tar.gz penes-snac2-0275658a3602f74035ff776dac8d8f64b9a2794f.tar.xz penes-snac2-0275658a3602f74035ff776dac8d8f64b9a2794f.zip | |
Backport from xs.
Diffstat (limited to '')
| -rw-r--r-- | xs_url.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -56,7 +56,7 @@ xs_dict *xs_url_vars(const char *str) | |||
| 56 | 56 | ||
| 57 | l = args; | 57 | l = args; |
| 58 | while (xs_list_iter(&l, &v)) { | 58 | while (xs_list_iter(&l, &v)) { |
| 59 | xs *kv = xs_split_n(v, "=", 2); | 59 | xs *kv = xs_split_n(v, "=", 1); |
| 60 | 60 | ||
| 61 | if (xs_list_len(kv) == 2) { | 61 | if (xs_list_len(kv) == 2) { |
| 62 | const char *key = xs_list_get(kv, 0); | 62 | const char *key = xs_list_get(kv, 0); |