Curl is a tool and libcurl is a library for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TFTP, SCP, SFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features
Перейти к файлу
Thomas M. DuBuisson 30974cb895
travis/script.sh: fix use of `-n' with unquoted envvar
Shellcheck tells us "-n doesn't work with unquoted arguments. quote or
use [[ ]]."

And testing shows:

```
docker run --rm -it ubuntu bash
root@fe85ce156856:/# [ -n $DOES_NOT_EXIST ] && echo "I ran"
I ran
root@fe85ce156856:/# [ -n "$DOES_NOT_EXIST" ] && echo "I ran"
root@fe85ce156856:/#
```

Closes #5773
2020-08-04 09:51:01 +02:00
.github CI/macos: set minimum macOS version 2020-07-26 16:31:33 +02:00
CMake content_encoding: add zstd decoding support 2020-07-12 18:11:37 +02:00
docs tlsv1.3.d. only for TLS-using connections 2020-08-02 23:24:32 +02:00
include curl.h: update CURLINFO_LASTONE 2020-07-23 02:44:53 -04:00
lib h2: repair trailer handling 2020-08-03 23:43:24 +02:00
m4 configure: allow disabling warnings 2020-07-17 09:35:16 +02:00
packages windows: add unicode to feature list 2020-07-14 08:30:17 +00:00
plan9
projects win32: Add Curl_verify_windows_version() to curlx 2020-08-02 17:58:44 +02:00
scripts travis/script.sh: fix use of `-n' with unquoted envvar 2020-08-04 09:51:01 +02:00
src tool_doswin: Simplify Windows version detection 2020-08-02 17:59:52 +02:00
tests test1908: treat file as text 2020-08-03 12:14:27 +02:00
winbuild win32: Add Curl_verify_windows_version() to curlx 2020-08-02 17:58:44 +02:00
.azure-pipelines.yml CI/azure: install libssh2 for use with msys2-based builds 2020-07-31 18:55:52 +02:00
.cirrus.yml cirrus-ci: upgrade 11-STABLE to 11.4 2020-07-11 02:42:54 -04:00
.dcignore .dcignore: ignore tests and docs directories 2020-06-27 00:07:37 +02:00
.dir-locals.el
.gitattributes
.gitignore .gitignore: add directory containing the stats repo 2020-06-05 19:54:34 +02:00
.lgtm.yml
.mailmap mailmap: Nicolas Sterchele 2020-06-12 13:41:52 +02:00
.travis.yml travis: add ppc64le and s390x builds 2020-07-31 23:33:57 +02:00
CHANGES
CMakeLists.txt CMake: fix test for warning suppressions 2020-07-23 16:13:35 +02:00
COPYING
GIT-INFO
MacOSX-Framework
Makefile.am
Makefile.dist
README
README.md
RELEASE-NOTES RELEASE-NOTES: synced 2020-08-03 10:20:26 +02:00
SECURITY.md
acinclude.m4
appveyor.yml appveyor: collect libcurl.dll variants with prefix or suffix 2020-07-13 21:00:39 +02:00
buildconf buildconf: retire ares buildconf invocation 2020-08-01 00:00:37 +02:00
buildconf.bat
configure.ac configure: cleanup wolfssl + pkg-config conflicts when cross compiling. 2020-07-27 15:18:13 +02:00
curl-config.in copyright: updated year ranges out of sync 2020-05-24 00:02:33 +02:00
libcurl.pc.in
maketgz

README.md

curl logo

CII Best Practices Coverity passed Travis-CI Build Status AppVeyor Build Status Azure DevOps Build Status Cirrus Build Status Backers on Open Collective Sponsors on Open Collective Language Grade: C/C++ Codacy Badge Fuzzing Status

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how!

You can find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms and similar. If you distribute curl binaries or other binaries that involve libcurl, you might enjoy the LICENSE-MIXING document.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Website

Visit the curl web site for the latest news and downloads.

Git

To download the very latest source from the Git server do this:

git clone https://github.com/curl/curl.git

(you'll get a directory named curl created, filled with the source code)

Security problems

Report suspected security problems via our HackerOne page and not in public!

Notice

Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]