Commits

Anonymous committed b02f45d

0.12.1dev: Fix encoding of `URL` property in roadmap icalendar export. Fixes #3946.

Comments (0)

Files changed (1)

trac/ticket/roadmap.py

                 write_date('DTSTART', milestone.due)
                 write_prop('SUMMARY', _('Milestone %(name)s',
                                         name=milestone.name))
-                write_prop('URL', req.base_url + '/milestone/' +
-                           milestone.name)
+                write_prop('URL', req.abs_href.milestone(milestone.name))
                 if milestone.description:
                     write_prop('DESCRIPTION', milestone.description)
                 write_prop('END', 'VEVENT')