MantisBT - CDash
View Issue Details
0007247CDashpublic2008-06-26 10:472008-06-26 10:54
Kate Rasing 
Julien Jomier 
normalmajoralways
closedfixed 
1.0.2 
1.2 
0007247: URL encoding in CTestConfig
In generateCTestConfig.php, when the project name has a space, the URL for the drop location does not get encoded properly -- instead of having "+" or "%20", it has a space, which causes errors when dropping the results.


Fix: use the urlencode function to convert all special characters to proper URL encoding.

$ctestconfig .= "set(CTEST_DROP_LOCATION \"".$currentURI."/submit.php?project=".urlencode($project_array["name"])."\")\n";
No tags attached.
Issue History
2008-06-26 10:47Kate RasingNew Issue
2008-06-26 10:52Julien JomierStatusnew => assigned
2008-06-26 10:52Julien JomierAssigned To => Julien Jomier
2008-06-26 10:54Julien JomierStatusassigned => closed
2008-06-26 10:54Julien JomierNote Added: 0012532
2008-06-26 10:54Julien JomierResolutionopen => fixed
2008-06-26 10:54Julien JomierFixed in Version => 1.2

Notes
(0012532)
Julien Jomier   
2008-06-26 10:54   
Fixed in the SVN. Thanks for the report and providing a fix.