curl_path: make SFTP handle a path like /~ properly.
authorCarlos Henrique Lima Melara <charlesmelara@riseup.net>
Thu, 5 Jun 2025 12:29:06 +0000 (14:29 +0200)
committerSamuel Henrique <samueloph@debian.org>
Fri, 8 May 2026 14:16:21 +0000 (07:16 -0700)
commita4e64bc35874e9becd2c9f279795004999bfecb6
tree436ed376d0e5c271db52ad20bd06ef109cd6b1d5
parent3475ac9db7d2575f282d63b1bbd90fb48bf3d56d
curl_path: make SFTP handle a path like /~ properly.

... without a trailing slash.

Fixes #17534
Closes #17542

Origin: upstream, https://github.com/curl/curl/commit/0ede81dcc61844cecce8904fb4de24319afeb024
Bug: https://github.com/curl/curl/issues/17534
Last-Update: 2025-06-09

Gbp-Pq: Name fix-CVE-2023-27534-regression-2.patch
lib/curl_path.c