GNOME Bugzilla – Bug 683433
soup_header_parse_param_list() ought to return an empty GHashTable instead of NULL
Last modified: 2012-10-29 18:11:49 UTC
It's easy to reproduce with empty headers. The problem is that parse_list() can return NULL and in that case soup_header_parse_param_list() also returns NULL.
*** Bug 687099 has been marked as a duplicate of this bug. ***
fixed in git
(In reply to comment #2) > fixed in git Thanks for the quick acting! This is commit c4ff1663 [1]. commit c4ff1663520f2167d274ac04cad7a88e9ba5902c Author: Dan Winship <danw@gnome.org> Date: Mon Oct 29 08:05:01 2012 -0400 soup_header_parse_param_list: return empty GHashTable instead of NULL Special-casing the "no parameters" case here complicates other code (eg, currently it causes warnings in SoupCache if you get an empty Cache-Control header). Dan, it would be awesome, if you could always add the bug URL to the commit messages too. [1] http://git.gnome.org/browse/libsoup/commit/?id=c4ff1663520f2167d274ac04cad7a88e9ba5902c
Yeah, I normally do that, but I wasn't paying attention or something this time.
(In reply to comment #4) > Yeah, I normally do that, but I wasn't paying attention or something this time. No problem. Thanks again for the quick fix!
I just noticed that this issue’s state is still »UNCONFIRMED«. I do not know the policy. So it might be only get closed when a release has happened.
oh, nope, I'm just used to git bz closing the bug automatically, which of course it didn't do because i forgot to include the bug url in the commit message...