Edgewall Software
Modify

Ticket #522 (closed defect: fixed)

Opened 8 years ago

Last modified 3 years ago

protocol http hard coded in rss feeds

Reported by: stefan@… Owned by: daniel
Priority: normal Milestone: 0.8
Component: general Version: 0.7.1
Severity: minor Keywords: rss http timeline
Cc: Oleksiy.Gorelov@…
Release Notes:
API Changes:

Description

when downloading the rss feed of the timeline, the links inside the rss always begin with http.
but if trac is served via https (which is recomended for pages with login), the generated links are wrong.

timeline_rss.cs:

<?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:$trac.version ?> on <?cs var:$trac.time ?> -->
<rss version="2.0">
   <?cs set base_url = "http://"+$HTTP.Host ?>
   <?cs def:rss_item(category,title, link, descr) ?>
      <item>

Attachments

Change History

comment:1 Changed 8 years ago by daniel

  • Severity changed from normal to trivial

Ah, indeed. Well spotted, Stefan. Thanks for the report.

comment:2 Changed 8 years ago by daniel

  • Milestone set to 0.8
  • Owner changed from jonas to daniel
  • Severity changed from trivial to minor
  • Status changed from new to assigned

comment:3 Changed 8 years ago by daniel

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [774].

comment:4 Changed 3 years ago by Oleksiy.Gorelov@…

  • Cc Oleksiy.Gorelov@… added
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 0.7.1 to 0.11

It does not work for me now in version 0.11

Trac:	0.11
Python:	2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
setuptools:	0.6c9
SQLite:	3.5.9
pysqlite:	2.4.1
Genshi:	0.6dev-r999
Pygments:	1.0
Subversion:	1.5.1 (r32289)
jQuery:	1.2.3

comment:5 Changed 3 years ago by rblank

  • Resolution set to fixed
  • Status changed from reopened to closed
  • Version changed from 0.11 to 0.7.1

Please don't reopen 5 year old tickets for new issues. Create a new ticket and describe your observations precisely.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.