curl/docs
Daniel Stenberg 3c9256c8a0
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
2023-06-08 16:08:45 +02:00
..
cmdline-opts haproxy: add --haproxy-clientip flag to spoof client IPs 2023-06-05 20:08:37 +02:00
examples ws: make the curl_ws_meta() return pointer a const 2023-06-07 23:37:21 +02:00
libcurl urlapi: have *set(PATH) prepend a slash if one is missing 2023-06-08 16:08:45 +02:00
.gitignore
ALTSVC.md
BINDINGS.md
BUFQ.md
BUFREF.md
BUG-BOUNTY.md
BUGS.md
CHECKSRC.md
CIPHERS.md
CMakeLists.txt
CODE_OF_CONDUCT.md
CODE_REVIEW.md
CODE_STYLE.md docs: minor polish 2023-04-27 13:23:01 +02:00
CONNECTION-FILTERS.md docs: minor polish 2023-04-27 13:23:01 +02:00
CONTRIBUTE.md docs: minor polish 2023-04-27 13:23:01 +02:00
curl-config.1
CURL-DISABLE.md
DEPRECATE.md
DYNBUF.md
EARLY-RELEASE.md
EXPERIMENTAL.md
FAQ
FEATURES.md
GOVERNANCE.md
HELP-US.md
HISTORY.md
HSTS.md
HTTP2.md
HTTP3.md ngtcp2: use 0.15.0 2023-05-12 17:25:38 +02:00
HTTP-COOKIES.md
HYPER.md
INSTALL
INSTALL.cmake
INSTALL.md misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
INTERNALS.md
KNOWN_BUGS KNOWN_BUGS: hyper memory-leaks 2023-05-22 17:06:54 +02:00
MAIL-ETIQUETTE
Makefile.am docs/SECURITY-ADVISORY.md: how to write a curl security advisory 2023-05-08 09:40:29 +02:00
MANUAL.md MANUAL.md: add dict example for looking up a single definition 2023-05-05 23:49:25 +02:00
mk-ca-bundle.1
MQTT.md
NEW-PROTOCOL.md
options-in-versions haproxy: add --haproxy-clientip flag to spoof client IPs 2023-06-05 20:08:37 +02:00
PARALLEL-TRANSFERS.md
README.md
RELEASE-PROCEDURE.md
ROADMAP.md
RUSTLS.md
SECURITY-ADVISORY.md docs/SECURITY-ADVISORY.md: how to write a curl security advisory 2023-05-08 09:40:29 +02:00
SECURITY-PROCESS.md docs/SECURITY-PROCESS.md: link to example of previous critical flaw 2023-06-02 18:05:22 +02:00
SSL-PROBLEMS.md
SSLCERTS.md
THANKS THANKS: contributors from 8.1.2 2023-05-30 08:13:18 +02:00
THANKS-filter
TheArtOfHttpScripting.md docs: minor polish 2023-04-27 13:23:01 +02:00
TODO TODO: build curl with Windows Unicode support 2023-05-22 17:08:45 +02:00
URL-SYNTAX.md
VERSIONS.md
WEBSOCKET.md

curl logo

Documentation

you will find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you would rather see the rendered version of the documentation, check out the curl website's documentation section for general curl stuff or the libcurl section for libcurl related documentation.