Skip to content

A few g_uri_parse_params() improvements

Marc-André Lureau requested to merge malureau/glib:uri-parse-params into master

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!

Merge request reports