summaryrefslogtreecommitdiff
path: root/lib/curl_path.c
Commit message (Collapse)AuthorAgeFilesLines
* curl_path: bring back support for SFTP path ending in /~Daniel Stenberg2023-04-261-14/+17
| | | | | | | | | | | | | libcurl used to do a directory listing for this case (even though the documentation says a URL needs to end in a slash for this), but 4e2b52b5f7a3 modified the behavior. This change brings back a directory listing for SFTP paths that are specified exactly as /~ in the URL. Reported-by: Pavel Mayorov Fixes #11001 Closes #11023
* curl_path: create the new path with dynbufDaniel Stenberg2023-03-101-40/+35
| | | | Closes #10729
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* cur_path: do not add '/' if homedir ends with oneEric Vigeant2022-11-031-3/+7
| | | | | | | When using SFTP and a path relative to the user home, do not add a trailing '/' to the user home dir if it already ends with one. Closes #9844
* style: use space after comment start and before comment endDaniel Stenberg2022-10-301-4/+0
| | | | | | | | | | /* like this */ /*not this*/ checksrc is updated accordingly Closes #9828
* curl_path: return error if given a NULL homedirDaniel Stenberg2022-10-161-1/+2
| | | | Closes #9740
* lib/curl_path.c: add ISC to license expressionJilayne Lovejoy2022-07-011-1/+1
| | | | | | | THe text of the ISC license is in this file, so the SPDX license expression should be updated Closes #9073
* copyright: make repository REUSE compliantmax.mehl2022-06-131-0/+2
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* lib: remove support for CURL_DOES_CONVERSIONSDaniel Stenberg2022-02-041-2/+2
| | | | | | TPF was the only user and support for that was dropped. Closes #8378
* tidy-up: make conditional checks more consistentDaniel Stenberg2021-04-221-5/+5
| | | | | | ... remove '== NULL' and '!= 0' Closes #6912
* curl_path: remove conn->data useDaniel Stenberg2021-01-191-5/+4
| | | | Closes #6487
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* src: Consistently spell whitespace without whitespaceDaniel Gustafsson2020-09-301-2/+2
| | | | | | | | | Whitespace is spelled without a space between white and space, so make sure to consistently spell it that way across the codebase. Closes #6023 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Emil Engler <me@emilengler.com>
* escape: make the URL decode able to reject only %00 bytesDaniel Stenberg2020-06-251-2/+2
| | | | | | ... or all "control codes" or nothing. Assisted-by: Nicolas Sterchele
* scp: fix directory name length used in memcpyKyle Abramowitz2019-08-241-1/+1
| | | | | | | Fix read off end of array due to bad pointer math in getworkingpath for SCP home directory case. Closes #4258
* ssh: define USE_SSH if SSH is enabled (any backend)Daniel Stenberg2019-05-061-1/+1
| | | | Closes #3846
* curl_path: only enabled for SSH buildsDaniel Stenberg2019-02-121-1/+5
|
* url: use the URL API internally as wellDaniel Stenberg2018-09-221-2/+2
| | | | | | ... to make it a truly unified URL parser. Closes #3017
* sftp: allow quoted commands to use relative pathsJohn DeHelian2017-12-091-9/+25
| | | | Closes #1900
* Added support for libssh SSH SCP back-endNikos Mavrogiannopoulos2017-12-011-0/+179
libssh is an alternative library to libssh2. https://www.libssh.org/ That patch set also introduces support for ECDSA ed25519 keys, as well as gssapi authentication. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>