mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-24 09:02:59 +02:00
fix(url): disallowed wonky path (#4386)
This commit is contained in:
@@ -74,9 +74,7 @@ class RumbleBridge extends BridgeAbstract
|
||||
$item['timestamp'] = $publishedAt->getTimestamp();
|
||||
}
|
||||
|
||||
if (isset($publishedAt) && $publishedAt > new \DateTimeImmutable('2025-01-31')) {
|
||||
$href = ltrim($href, '/');
|
||||
}
|
||||
$href = ltrim($href, '/');
|
||||
$itemUrl = Url::fromString(self::URI . $href);
|
||||
// Remove tracking parameter in query string
|
||||
$item['uri'] = $itemUrl->withQueryString(null)->__toString();
|
||||
|
Reference in New Issue
Block a user