CDASH_UPLOAD is broken when CTEST_DROP_LOCATION does not contain "submit.php?"
std::string::size_type pos = url.find("submit.php?");
url = url.substr(0, pos + 10);
When the URL does not contain"submit.php?"
, pos
is set to std::string::npos
, or -1
. The substr()
function will then use the first 9
characters of the string, leading most likely to a broken url.
Edited by Brad King