MantisBT - CDash | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006670 | CDash | public | 2008-03-27 18:09 | 2008-03-29 16:24 | |
Reporter | Mike H | ||||
Assigned To | Julien Jomier | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | 0.8 | |||
Summary | 0006670: createRSS.php puts bad link path into the RSS feed items | ||||
Description | In SVN revision 785, selecting one of the items in the RSS feed tries to load a bad URL: http://<hostname>/cdash/submit.php/index.php?project=<project [^] ID> I believe the intent was to load up the index page for the project in question, like: http://<hostname>/cdash/index.php?project=<project [^] ID> If that's true, then one fix would be to just call "dirname" on the $_SERVER['SCRIPT_NAME'] value on line 52 of createRSS.php: =================================================================== --- createRSS.php (revision 785) +++ createRSS.php (working copy) @@ -49,7 +49,7 @@ return; } - $urlbase = "http://".$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']; [^] + $urlbase = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']); [^] fputs($fp,"<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n"); fputs($fp,"<rss version=\"2.0\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\">\n" [^]); | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-03-27 18:09 | Mike H | New Issue | |||
2008-03-29 16:19 | Julien Jomier | Status | new => assigned | ||
2008-03-29 16:19 | Julien Jomier | Assigned To | => Julien Jomier | ||
2008-03-29 16:24 | Julien Jomier | Status | assigned => closed | ||
2008-03-29 16:24 | Julien Jomier | Note Added: 0010982 | |||
2008-03-29 16:24 | Julien Jomier | Resolution | open => fixed | ||
2008-03-29 16:24 | Julien Jomier | Fixed in Version | => 0.8 |
Notes | |||||
|
|||||
|
|