# HG changeset patch # User Sebastien Jodogne # Date 1666883834 -7200 # Node ID 40f8009ceb4e7e86c9794b595a3a597884e46c48 # Parent 889892e51545c34679039d4ebd4d02b2cb4750f7 added compatibility against release 1.10.1 of the DICOMweb plugin diff -r 889892e51545 -r 40f8009ceb4e Applications/StoneWebViewer/Plugin/Plugin.cpp --- a/Applications/StoneWebViewer/Plugin/Plugin.cpp Thu Oct 27 17:09:28 2022 +0200 +++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp Thu Oct 27 17:17:14 2022 +0200 @@ -65,7 +65,8 @@ { std::vector tokens; Orthanc::Toolbox::TokenizeString(tokens, version, '.'); - if (tokens.size() != 2) + if (tokens.size() != 2 && + tokens.size() != 3) { throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, "Bad version of the DICOMweb plugin: " + version);