OSDN Git Service

BugTrack2/110: Output absolute path for Location: header ... (Pointed out by anonymous)
authorhenoheno <henoheno>
Sat, 24 Sep 2005 01:16:43 +0000 (10:16 +0900)
committerhenoheno <henoheno>
Sat, 24 Sep 2005 01:16:43 +0000 (10:16 +0900)
plugin/rss10.inc.php

index 3ce9196..0b7cf4a 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 // RSS 1.0 plugin - had been merged into rss plugin
-// $Id: rss10.inc.php,v 1.16 2004/12/02 11:34:25 henoheno Exp $
+// $Id: rss10.inc.php,v 1.17 2005/09/24 01:16:43 henoheno Exp $
 
 function plugin_rss10_action()
 {
        pkwk_headers_sent();
        header('Status: 301 Moved Permanently');
-       header('Location: ' . $script . '?cmd=rss&ver=1.0'); // HTTP
+       header('Location: ' . get_script_uri() . '?cmd=rss&ver=1.0'); // HTTP
        exit;
 }
 ?>