diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/string.c b/src/utils/string.c index 6d1f705..e15d323 100644 --- a/src/utils/string.c +++ b/src/utils/string.c @@ -58,12 +58,14 @@ mq_parse_query_string(gchar *str) val = ++str; for (; *str && *str != '&'; ++str); if (!*str) { + g_strdelimit(val, "+", ' '); g_hash_table_insert(hash_table, g_uri_unescape_string(key, NULL), g_uri_unescape_string(val, NULL)); break; } *str = '\0'; + g_strdelimit(val, "+", ' '); g_hash_table_insert(hash_table, g_uri_unescape_string(key, NULL), g_uri_unescape_string(val, NULL)); |