diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-06-08 13:15:09 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-06-08 16:08:45 +0200 |
commit | 3c9256c8a0b5a36dde28b49cc8df8c6d0aae1f48 (patch) | |
tree | cdaed8536094192c923a9b88737e2d08d3f91d89 /docs/examples/unixsocket.c | |
parent | 7d62f0d9b8ac9f2b58682891ecd6e2daab2114aa (diff) |
urlapi: have *set(PATH) prepend a slash if one is missing
Previously the code would just do that for the path when extracting the
full URL, which made a subsequent curl_url_get() of the path to
(unexpectedly) still return it without the leading path.
Amend lib1560 to verify this. Clarify the curl_url_set() docs about it.
Bug: https://curl.se/mail/lib-2023-06/0015.html
Closes #11272
Reported-by: Pedro Henrique
Diffstat (limited to 'docs/examples/unixsocket.c')
0 files changed, 0 insertions, 0 deletions