RSS feed contains the host of the requested server
--------------------------------------------------
Key: MRM-1269
URL:
http://jira.codehaus.org/browse/MRM-1269 Project: Archiva
Issue Type: Bug
Affects Versions: 1.2.2
Environment: jetty standalone 1.2.2, JRE 1.6, Centos 5.3, 64-bit,
Apache mod_proxy
Reporter: Andreas Baumann
Imagine running jetty standalone on localhost:8080, having a proxy before. The RSS feed gets the scheme, name, port
from the RSSServletRequest.
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="
http://purl.org/rss/1.0/modules/content/" xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="
http://purl.org/dc/elements/1.1/" xmlns:taxo="
http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
<channel>
<title>New Artifacts in Repository 'internal'</title>
<link>
https://localhost:8080/archiva/feeds/internal</link>
Maybe having a configuration setting is an option, where the URL base for thinks like "WebDavURL", "RSS base URL" etc. can be set
manually instead of guessing them in different ways (ContextUtils.java, req.getBaseUrl( ), etc.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira