Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12475

RSS feeds created by Space->Advanced ->Rss Feeds do not respect the base server url

    XMLWordPrintable

Details

    Description

      RSS feeds generated from the RSS feed builder on the dashboard use the base server url configured in Admin->General Preferences to generate the base of the createrssfeed.action.

      If you go to Space > Advanced > RSS feeds, a page is generated from listrssfeeds.vm, which contains this:

      Line 29
                      <ul type="square" style="padding: 0; margin-left: 3em; color: #cccccc">
                                  <li><a href="$req.contextPath/spaces/createrssfeed.action?types=page&spaces=$space.key&maxResults=15&title=[$generalUtil.urlEncode($space.name)]+$action.getText("rss.feed.page.title")$feedAuthen">$action.getText("rss.feed.space.pages")</a>
                                  <li><a href="$req.contextPath/spaces/createrssfeed.action?types=blogpost&spaces=$space.key&maxResults=15&title=[$generalUtil.urlEncode($space.name)]+$action.getText("rss.feed.blogpost.title")$feedAuthen">$action.getText("rss.feed.space.news")</a>
                                  <li><a href="$req.contextPath/spaces/createrssfeed.action?types=mail&spaces=$space.key&maxResults=15&title=[$generalUtil.urlEncode($space.name)]+$action.getText("rss.feed.mail.title")$feedAuthen">$action.getText("rss.feed.space.mail")</a>
                                  <li><a href="$req.contextPath/spaces/createrssfeed.action?types=comment&spaces=$space.key&maxResults=15&title=[$generalUtil.urlEncode($space.name)]+$action.getText("rss.feed.comment.title")$feedAuthen">$action.getText("rss.feed.space.comments")</a>
                                  <li><a href="$req.contextPath/spaces/createrssfeed.action?types=attachment&spaces=$space.key&maxResults=15&title=[$generalUtil.urlEncode($space.name)]+$action.getText("rss.feed.attachment.title")$feedAuthen">$action.getText("rss.feed.space.attachments")</a>
                                  <li><a href="$req.contextPath/spaces/createrssfeed.action?types=page&types=comment&types=blogpost&types=mail&types=attachment&spaces=$space.key&maxResults=15&title=[$generalUtil.urlEncode($space.name)]+$action.getText("rss.feed.all.content.title")$feedAuthen">$action.getText("rss.feed.space.all")</a>
                              </ul>
      

      which relies on the current contextPath, not the base server url.

      Attachments

        Activity

          People

            pcurren Paul Curren
            twong Tim Wong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: