Revert rss20 to using $ENV{PATH_INFO} in self link.
authorGavin Carr <gonzai@users.sourceforge.net>
Tue, 4 Dec 2007 10:26:35 +0000 (10:26 +0000)
committerGavin Carr <gonzai@users.sourceforge.net>
Tue, 4 Dec 2007 10:26:35 +0000 (10:26 +0000)
gavinc/rss20

index 402a59a11217a5a0d4b5b6ac7f847ae19d5e0d7f..4800501e3f1b48e6516786e9a6bd5a7d981ed9c8 100644 (file)
@@ -175,12 +175,11 @@ HEAD
      ' ' x $channel_indent .
       qq(<copyright>$rss20::copyright</copyright>\n);
   }
-  my $path_info = $blosxom::path_info_orig || "/$blosxom::path_info";
   $blosxom::template{$flavour}{'head'} .= <<HEAD;
         <pubDate>\$storydate::latest_rfc822</pubDate>
         <language>$blosxom::blog_language</language>
         <generator>$rss20::generator</generator>
-        <atom:link href="$blosxom::url$path_info" rel="self" type="application/rss+xml" />
+        <atom:link href="$blosxom::url$ENV{PATH_INFO}" rel="self" type="application/rss+xml" />
         <sy:updatePeriod>hourly</sy:updatePeriod>
         <sy:updateFrequency>1</sy:updateFrequency>
         <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>