diff OrthancServer/Sources/DicomInstanceToStore.cpp @ 4136:2724977419fb

Fix DICOM SCP filters if some query tag has more than 256 characters
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Aug 2020 15:55:03 +0200
parents 05b8fd21089c
children 6774605d4341
line wrap: on
line diff
--- a/OrthancServer/Sources/DicomInstanceToStore.cpp	Tue Aug 04 13:02:02 2020 +0200
+++ b/OrthancServer/Sources/DicomInstanceToStore.cpp	Thu Aug 06 15:55:03 2020 +0200
@@ -246,7 +246,8 @@
       {
         summary_.Allocate();
         FromDcmtkBridge::ExtractDicomSummary(summary_.GetContent(), 
-                                             *parsed_.GetContent().GetDcmtkObject().getDataset());
+                                             *parsed_.GetContent().GetDcmtkObject().getDataset(),
+                                             ORTHANC_MAXIMUM_TAG_LENGTH);
       }
     
       if (!json_.HasContent())