curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: CURLUPART_PATH not inserting leading slash

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 8 Jun 2023 13:11:59 +0200 (CEST)

On Thu, 8 Jun 2023, Timothe Litt via curl-library wrote:

>> If a path is set in the URL without a leading slash, a slash will be
>> inserted automatically when this URL is read from the handle.
>
> While you're at it, doc should be "trailing slash".  "leading" - the
> beginning (left).  "trailing" - the end (right).

No. It speaks of and means a leading slash. The left-most character.


-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-06-08