Issue Bug Resolved

#111487RSS widget does not redact feed URL credentials with guzzlehttp/psr7 2.x

Oliver Bartsch 11/18/26, 07:29 updated 11/18/26, 08:15

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

History 24

  1. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 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.