Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #246125

Category None
Changed by Daniel Stenberg <danielohnoyoudont@haxx.se>
Changed at Sun 19 Oct 2025 15:09:22
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch bagder/curl-path
Revision e47754c012b4c380287fcdc4ab1d21e5934b14f2

Comments

curl_path: make sure just whitespace is illegal

This function could previously accidentally return true and a NULL path
if only whitespace was provided as argument.

Also, make it stricter and do not allow CR or LF within the string.

Use more strparse parsing.

Drop the comment saying this is from OpenSSH as it has now been
rewritten since then.

Changed files