[Bug debuginfod/28034] client-side %-escape url characters
Thu Aug 26 19:27:45 GMT 2021
When requesting some source files, some URL-inconvenient chars
sometimes pop up. Example from f33 libstdc++:
As this URL is passed into debuginfod's handler_cb, it appears that the
+ signs are helpfully unescaped to spaces by libmicrohttpd, which
'course breaks everything.
In order to ensure the server properly parses urls such as this one,
%-escape characters on the client side so that the correct url
is preserved and properly processed on the server side.
This patch preserves '/'s in the url. Please find the patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3869 bytes
Desc: not available
More information about the Elfutils-devel