#111487RSS widget does not redact feed URL credentials with guzzlehttp/psr7 2.x
Description
Since #111473 the RSS widget redacts credentials of the feed URL before logging a fetch error. It uses GuzzleHttp\Psr7\Utils::redactUserInfo(), which behaves differently across the supported guzzlehttp/psr7 versions:
- 3.x replaces the whole user info: https://***@example.org/rss
- 2.x only masks the password and keeps the user name: https://john:***@example.org/rss. A user-only user info (https://token@example.org/rss) is not redacted at all.
TYPO3 v14.3 allows “guzzlehttp/psr7”: “^2.13.1 || ^3.1.0”, so installations with psr7 2.x still log the user name, or a token given as user name, in plain text.
The nightly build with lowest dependencies fails: RssWidgetTest::passwordOfFeedUrlIsNotLoggedOnFetchError expected ‘https://***@typo3.org/rss’, got ‘https://john:***@typo3.org/rss’.
Expected: the user info of the feed URL is fully redacted independent of the installed guzzlehttp/psr7 version.
Reviews 2
Related issues 1
History 24
-
Oliver Bartsch changed Related to #111473 <span data-processor="relativetime" data-value="2026-11-18T07:29:17+00:00" > 11/18/26, 07:29 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 97775 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-18T07:30:19+00:00" > 11/18/26, 07:30 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 97776 <span data-processor="relativetime" data-value="2026-11-18T07:30:29+00:00" > 11/18/26, 07:30 </span>
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-18T08:15:21+00:00" > 11/18/26, 08:15 </span>
Applied in changeset commit:b5ad635f170a10bf98560030b5dd76fe18d23caa.