[Bug debuginfod/28034] debuginfod server: preserve + etc. elements in incoming webapi url

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Jul 7 12:29:11 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=28034

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
Could we do both?

Start properly %-escaping outgoing URLs from libdebuginfod client (and
documenting that this is the correct/expected way to do GET requests).

And only do unescaping in libmicrohttpd if the URL contains a %.

This assumes that + -> ' ' escaping is normally unwanted (because to proper way
is to encode a space as %20).

But maybe I am missing some subtlety or maybe we have no way of stopping
libmicrohttpd of "unescaping"?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list