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

Change #274016

Category curl
Changed by Stefan Eissing <stefanohnoyoudont@eissing.org>
Changed at Sat 04 Jul 2026 22:53:01
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision e0222c00293573e83d85fb5dfc43d67b4b837dda

Comments

test2114: fix reading from stdin
The test provides an invalid username, but no ':' with password, so that
the curl tool tries to read the password from stdin. That makes the test
hang, also in CI.

The check for invalid characters is happening when the CURLOPT_USERPWD
is applied to the URL, so when the transfer is started. Maybe the check
should happen also in setopt already.

The test hangs because tool_paramhlp.c:548 `checkpasswd()` does not see
a ':' and tries to read the password from stdin.

Fix: add a ':' in the tests invalid user setting, so that the read does
not happen.

Follow-up to ecaa344a7a17874ff0c6e5

Closes #22264

Changed files