Edgewall Software
Modify

Opened 20 years ago

Closed 15 years ago

#522 closed defect (fixed)

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@… Branch:
Release Notes:
API Changes:
Internal 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 (0)

Change History (5)

comment:1 by daniel, 20 years ago

Severity: normaltrivial

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

comment:2 by daniel, 20 years ago

Milestone: 0.8
Owner: changed from Jonas Borgström to daniel
Severity: trivialminor
Status: newassigned

comment:3 by daniel, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [774].

comment:4 by Oleksiy.Gorelov@…, 15 years ago

Cc: Oleksiy.Gorelov@… added
Resolution: fixed
Status: closedreopened
Version: 0.7.10.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 by Remy Blank, 15 years ago

Resolution: fixed
Status: reopenedclosed
Version: 0.110.7.1

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.