Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i have install the latest dev on my environment running with memcache and varnish i setup in the settings.php base href for my site example.com and stuff like this in the settings.php
$settings['reverse_proxy'] = TRUE;
$settings['reverse_proxy_addresses'] = array('127.0.0.1');
$settings['reverse_proxy_header'] = 'HTTP_X_FORWARDED_FOR';
when i surf the site in the sourcecode i read this ..wrong!
<link rel="alternate" type="application/rss+xml" title="" href="http://example.com:8080/rss.xml" />
Comments
Comment #0.0
eule CreditAttribution: eule commentedblaa typo
Comment #1
fgmXMLRPC is no longer in core in D8: moved to its own project.
Comment #2
fgmAlthough this is XML, it does not appear to have had any relationship with XML-RPC: it was just moved here because it was initially posted to the XML-RPC subsystem. Setting back to core.
Comment #13
JeroenTI tried to reproduce this issue but couldn't. Is this still a problem?
If someone disagrees, or has some steps to reproduce this issue, feel free to reopen.
Comment #14
Wim LeersI don't understand what's wrong? It seems to be implied that
http://example.com:8080/rss.xml
is wrong — but reverse proxy settings have no impact on the port used in generated URLs? 🤔These settings only affect
\Drupal\Core\StackMiddleware\ReverseProxyMiddleware
, not generated URLs.Comment #16
larowlanThis would have to occur via using
['#attached']['feed']
These are the only instances of that in core
The first instance is using a relative path of aggregator/rss, the second is using taxonomy/tem, the third and fourth are a test.
The last one is from a views plugin. In that scenario $url is coming from the feed url, which is coming from the URL of the display to which the Opml plugin is attached, which would also be an internal path.
I think we can close this as cannot reproduce
Comment #17
quietone CreditAttribution: quietone at PreviousNext commentedI'm reviewing BugSmash issues with the 'Postponed maintainer needs more info' status. This issue is not in my area so I asked in #bugsmash and larowlan responded above. That makes three comments, from three folks, that do not see how to reproduce this problem.
There have been no supporting comments in the 9 years this issue has been open. Therefor, I am closing this as suggested in #16.