Home
last modified time | relevance | path

Searched hist:"7930587300104 cf1bc6f40d322f168238a9fdfdc" (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/_test/tests/Feed/
H A DFeedParserTest.php7930587300104cf1bc6f40d322f168238a9fdfdc Fri Jun 26 21:18:22 UTC 2026 Andreas Gohr <andi@splitbrain.org> fix RSS feed aggregation broken by SimplePie 1.9 upgrade

SimplePie 1.9 added a FileClient that rejects any response whose error is
non-null while the status code is zero. FeedParserFile never set a status
code and copied DokuHTTPClient's error verbatim, which is an empty string
(not null) on success - so every successful fetch was misclassified as a
failed request and feeds rendered the 'rssfailed' message.

Populate the response through SimplePie's Response interface methods backed
by our own properties (status code, body, normalized headers, requested URL)
and report a missing error as null, instead of writing File's deprecated
backwards-compatibility properties.

/dokuwiki/inc/Feed/
H A DFeedParserFile.php7930587300104cf1bc6f40d322f168238a9fdfdc Fri Jun 26 21:18:22 UTC 2026 Andreas Gohr <andi@splitbrain.org> fix RSS feed aggregation broken by SimplePie 1.9 upgrade

SimplePie 1.9 added a FileClient that rejects any response whose error is
non-null while the status code is zero. FeedParserFile never set a status
code and copied DokuHTTPClient's error verbatim, which is an empty string
(not null) on success - so every successful fetch was misclassified as a
failed request and feeds rendered the 'rssfailed' message.

Populate the response through SimplePie's Response interface methods backed
by our own properties (status code, body, normalized headers, requested URL)
and report a missing error as null, instead of writing File's deprecated
backwards-compatibility properties.