# HG changeset patch # User Sebastien Jodogne # Date 1481031634 -3600 # Node ID af60b784d2b8c5143d9e96acae48975a1f32bcf3 # Parent 3b40ca7470cc31a95469a9452aa1ac8ab9fba227 Ignore "Group Length" tags in C-FIND queries diff -r 3b40ca7470cc -r af60b784d2b8 NEWS --- a/NEWS Fri Dec 02 16:58:35 2016 +0100 +++ b/NEWS Tue Dec 06 14:40:34 2016 +0100 @@ -38,6 +38,7 @@ * Improved robustness against files with no PatientID * Upgrade to curl 7.50.3 for static and Windows builds * Content-Type for JSON documents is now "application/json; charset=utf-8" +* Ignore "Group Length" tags in C-FIND queries Version 1.1.0 (2016/06/27) diff -r 3b40ca7470cc -r af60b784d2b8 OrthancServer/Search/HierarchicalMatcher.cpp --- a/OrthancServer/Search/HierarchicalMatcher.cpp Fri Dec 02 16:58:35 2016 +0100 +++ b/OrthancServer/Search/HierarchicalMatcher.cpp Tue Dec 06 14:40:34 2016 +0100 @@ -86,9 +86,9 @@ } DicomTag tag(FromDcmtkBridge::Convert(element->getTag())); - if (tag == DICOM_TAG_SPECIFIC_CHARACTER_SET) + if (tag == DICOM_TAG_SPECIFIC_CHARACTER_SET || // Ignore encoding + tag.GetElement() == 0x0000) // Ignore all "Group Length" tags { - // Ignore this specific tag continue; }