# HG changeset patch # User Sebastien Jodogne <s.jodogne@gmail.com> # Date 1636196341 -3600 # Node ID 4df89753eaef219c0dc1240130accbd7d6b9cac5 # Parent 4c0dd6329892d4b31b69a13869c7fed27e999ca7 Fix import of collections with a space in their names diff -r 4c0dd6329892 -r 4df89753eaef NEWS --- a/NEWS Wed Sep 15 22:33:12 2021 +0200 +++ b/NEWS Sat Nov 06 11:59:01 2021 +0100 @@ -1,6 +1,8 @@ Pending changes in the mainline =============================== +* Fix import of collections with a space in their names + Version 1.0 (2021-08-29) ======================== diff -r 4c0dd6329892 -r 4df89753eaef Plugin/TciaImportJob.cpp --- a/Plugin/TciaImportJob.cpp Wed Sep 15 22:33:12 2021 +0200 +++ b/Plugin/TciaImportJob.cpp Sat Nov 06 11:59:01 2021 +0100 @@ -260,9 +260,9 @@ else { const Series& series = series_[position_]; - const std::string url = ( - std::string(TCIA_BASE_URL) + "/getImage?Collection" + series.GetCollection() + - "&SeriesInstanceUID=" + series.GetSeriesInstanceUid()); + + const std::string url = (std::string(TCIA_BASE_URL) + + "/getImage?SeriesInstanceUID=" + series.GetSeriesInstanceUid()); Json::Value query; query["Level"] = "Instance";