Modify ↓
#281 closed defect (fixed)
Timeline RSS format doesn't show IDs
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.7 |
| Component: | timeline | Version: | devel |
| Severity: | minor | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
When using the RSS feed from the timeline view it doesn't include the ID of items, as shown in the following:
...
<item>
<author>jon</author>
<pubDate>Fri, 23 Apr 2004 01:41:58 GMT</pubDate>
<title>[]: Make DBObject use Config to get the DSN if none is defined.</title>
<link>http:///trac.cgi/changeset/7</link>
<description>Make DBObject use Config to get the DSN if none is defined.</description>
<category>Changeset</category>
</item>
...
Attachments (0)
Change History (3)
comment:1 by , 22 years ago
comment:2 by , 22 years ago
| Milestone: | → 0.7 |
|---|---|
| Status: | new → assigned |
The patch above fixes the broken <link>-tag (for trac.cgi at least) but the <title> is also broken. I'll commit a fix soon.
comment:3 by , 22 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed in [449]. Thanks for the report and the patch.
Note:
See TracTickets
for help on using tickets.



The following patch fixes problem
--- trac/core.py (revision 448) +++ trac/core.py (working copy) @@ -287,6 +287,10 @@ self.remote_user = os.getenv('REMOTE_USER') if os.getenv('HTTP_COOKIE'): self.incookie.load(os.getenv('HTTP_COOKIE')) + + if os.getenv('HTTP_HOST'): + self.hdf.setValue('HTTP.Host', os.getenv('HTTP_HOST')) + def read(self, len): return sys.stdin.read(len)