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

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jul 7 13:45:32 GMT 2021


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

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
> This assumes that + -> ' ' escaping is normally unwanted (because to proper way > is to encode a space as %20).

I can't find it in current RFCs but traditional use of '+' to encode ' ' is
still very widespread, esp. in querystrings.  And unfortunately libmicrohttpd
does the "+" -> " " transform practically unconditionally.

So I suspect we have no choice but to %HEX urlencode all RFC3986-"reserved" (or
not "unreserved") characters.  I'd use %20 for space too.

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


More information about the Elfutils-devel mailing list