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

Change #246144

Category None
Changed by Daniel Stenberg <danielohnoyoudont@haxx.se>
Changed at Sun 19 Oct 2025 16:26:01
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch master
Revision 976333dd4052855c22369e89e60a80a9cf925161

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.

Closes #19141

Changed files