Project

General

Profile

Actions

Defect #17309

closed

RSS feed gives away localhost link

Added by Konstantin Kivi over 10 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Feeds
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I can see rss streem but
not use it, because it referes to
unaccessible content.

Note localhost:3000 links below.
Email notification contains valid links, though.

redmine works behind nginx, but I think it's irrelevant

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title></title>
  <link rel="self" href="http://localhost:3000/issues/16102.atom?key=12de9c34533537eeb40bca3c643322ef39adef9c"/>
  <link rel="alternate" href="http://localhost:3000/"/>
  <id>http://localhost:3000/</id>
  <icon>http://localhost:3000/favicon.ico?1396112202</icon>
  <updated>2014-06-26T06:44:49Z</updated>
  <author>
    <name>our redmine</name>
  </author>
  <entry>
    <title>MyProject - bug #16102: some bug</title>
    <link rel="alternate" href="http://localhost:3000/issues/16102"/>
    <id>http://localhost:3000/issues/16102?journal_id=90550</id>
    <updated>2014-06-26T06:44:49Z</updated>
    <author>
      <name>my name</name>
      <email>my email</email>
    </author>
    <content type="html">
&lt;ul&gt;&lt;li&gt;parameter &lt;strong&gt;version&lt;/strong&gt; changed to &lt;i&gt;v1.2-5&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;    </content>
  </entry>
</feed>

This is my configuration

Environment:
  Redmine version                2.5.1.stable
  Ruby version                   1.9.3-p194 (2012-04-20) [x86_64-linux]
  Rails version                  3.2.17
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.7.9
  Git                            1.8.3.2
  Filesystem                     
Redmine plugins:
  once_assigned_ever_watcher     0.1.0
  redmine_lightbox               0.0.1
  redmine_plugin_views_revisions 0.0.1
  redmine_pretend                0.0.3
  redmine_xls_export             0.2.1.t5


Files

Selection_070.png (12.5 KB) Selection_070.png Konstantin Kivi, 2014-06-30 13:30

Related issues

Related to Redmine - Defect #11147: relative_url_root changes only css... , but not dynamic pagesNew

Actions
Related to Redmine - Defect #10535: Atom feeds for the Project Activity contain incorrect hostnameReopenedGo MAEDA

Actions
Actions #1

Updated by Konstantin Kivi over 10 years ago

Actions #2

Updated by Toshi MARUYAMA over 10 years ago

  • Status changed from New to Needs feedback

What is "Host name and path" in setting?

Actions #3

Updated by Konstantin Kivi over 10 years ago

redmine.komtex
This address is resolvable in our local network and
it is how we get to redmine in browser

Actions #4

Updated by Toshi MARUYAMA over 10 years ago

  • Related to Defect #11147: relative_url_root changes only css... , but not dynamic pages added
Actions #5

Updated by Toshi MARUYAMA over 10 years ago

Try r13196 change to your installation.

Actions #6

Updated by Konstantin Kivi over 10 years ago

It didn't help. we changed the line from patch
and installed required builder version.

Actions #7

Updated by Toshi MARUYAMA over 10 years ago

  • Status changed from Needs feedback to New

Redmine uses url_for in this line.
source:tags/2.5.1/app/views/common/feed.atom.builder#L4
So, we cannot do anything.
It is problem of your web server or builder.

Actions #8

Updated by Go MAEDA about 4 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed by #10535 for upcoming Redmine 4.2.0. After r19810, Redmine uses Setting.host_name ("Administration" > "Settings" > "General" > "Host name and path").

Actions #9

Updated by Go MAEDA about 4 years ago

  • Related to Defect #10535: Atom feeds for the Project Activity contain incorrect hostname added
Actions

Also available in: Atom PDF