Skip to content

Commit

Permalink
[FindfeedAction.php] Use relative URL in Feed Link
Browse files Browse the repository at this point in the history
The FindFeed action used absolute URL. This breaks the usage of RSS
Bridge behind a reverse proxy in a container.

Fixes #3801 for the Find Feed action
  • Loading branch information
sysadminstory committed Dec 7, 2023
1 parent deb9a72 commit 55a23c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/FindfeedAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function execute(array $request)
$bridgeParams['bridge'] = $bridgeClassName;
$bridgeParams['format'] = $format;
$content = [
'url' => get_home_page_url() . '?action=display&' . http_build_query($bridgeParams),
'url' => './?action=display&' . http_build_query($bridgeParams),
'bridgeParams' => $bridgeParams,
'bridgeData' => $bridgeData,
'bridgeMeta' => [
Expand Down

0 comments on commit 55a23c8

Please sign in to comment.