A few g_uri_parse_params() improvements
It turns out g_uri_parse_params()
may have not been fleshed out as much as GUri
:
-
In particular, forcing decoding may have undesirable consequences.
-
Having several separators is almost a must (I guess we could accept NULL to mean
"&;"
?). -
Use flags to allow further tweaking, if necessary.
-
Add www-form decoding (
+
is replaced by
@danw please take a look!