Index: mythweb/modules/tv/tmpl/default/upcoming.php
===================================================================
--- mythweb/modules/tv/tmpl/default/upcoming.php	(revision 23247)
+++ mythweb/modules/tv/tmpl/default/upcoming.php	(working copy)
@@ -445,7 +445,7 @@
 
 </table>
 <?php
-    $ical_href = "ical{$_SERVER['REQUEST_URI']}?";
+    $ical_href = str_replace('tv','ical/tv',$_SERVER['REQUEST_URI']).'?';
     if (!$_SESSION['scheduled_recordings']['disp_scheduled'])
         $ical_href .='skip_scheduled&';
     if (!$_SESSION['scheduled_recordings']['disp_conflicts'])

