diff options
| author | default <nobody@localhost> | 2025-02-04 16:24:21 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-02-04 16:24:21 +0100 |
| commit | 636d026e133d874daf39a84a7702253454644926 (patch) | |
| tree | ff925ddaa465fc64508deb9600cbf8e92c65d58f | |
| parent | 608a92d0bf438373d519946ec3206baccb08922b (diff) | |
More xs_url_dec() fixes.
| -rw-r--r-- | xs_url.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,9 @@ xs_str *xs_url_dec(const char *str) xs_str *s = xs_str_new(NULL); while (*str) { + if (!xs_is_string(str)) + break; + if (*str == '%') { unsigned int i; |