Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1269

RSS feed contains the host of the requested server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Environment:
      jetty standalone 1.2.2, JRE 1.6, Centos 5.3, 64-bit,
      Apache mod_proxy

      Description

      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.)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andreas_baumann Andreas Baumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: