diff options
-rw-r--r-- | rss/rss.php | 4 | ||||
-rwxr-xr-x | rss/rss1.0.php | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/rss/rss.php b/rss/rss.php index c22f31e..8d36840 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -20,10 +20,8 @@ function rss_top(){ if ($theview !=""){$rss .= ' - '.$theview;} $rss .= "</title>\n"; - $rss .= '<link>'.htmlspecialchars("$phpiCal_config->default_path").'</link>'."\n"; if (isset($cpath) && $cpath !='') $rss_link.="?cpath=$cpath"; - $rss .= "<link>$rss_link</link>\n"; - + $rss .= '<link>'.htmlspecialchars("$phpiCal_config->default_path").'</link>'."\n"; $rss .= '<description>'.$cal_displayname.' '.$lang['l_calendar'].' - '.$theview.'</description>'."\n"; $rss .= '<language>'.$rss_language.'</language>'."\n"; $rss .= '<copyright>Copyright '.date("Y").', '.htmlspecialchars ("$default_path").'</copyright>'."\n"; diff --git a/rss/rss1.0.php b/rss/rss1.0.php index 0a5acb4..8ea1ea6 100755 --- a/rss/rss1.0.php +++ b/rss/rss1.0.php @@ -42,7 +42,7 @@ function enclose_items($rss_items){ function rss_item(){
global $uid,$event_start,$rss_title,$rss_link, $dayofweek, $event_text, $rss_description, $val;
- $rss_item = '<item rdf:about="'.$rss_link.'&uid='.$uid.'/">'."\n";
+ $rss_item = '<item rdf:about="'.$rss_link.'&uid='.urlencode($uid).'/">'."\n";
/* Create guid, and use uid to make link unique */
# $rss .= '<guid isPermaLink="false">'.$rss_link.$uid.'</guid>'."\n";
|