Mercurial > hg > orthanc
diff OrthancServer/DicomInstanceToStore.cpp @ 3342:63f59ad9381a
Fix issue #136 (C-Find request fails when found DICOM file does not have certain tags)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Apr 2019 13:36:13 +0200 |
parents | 4e43e67f8ecf |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceToStore.cpp Fri Apr 05 13:02:57 2019 +0200 +++ b/OrthancServer/DicomInstanceToStore.cpp Fri Apr 05 13:36:13 2019 +0200 @@ -179,7 +179,9 @@ } else { - parsed_.TakeOwnership(new ParsedDicomFile(summary_.GetConstContent())); + parsed_.TakeOwnership(new ParsedDicomFile(summary_.GetConstContent(), + GetDefaultDicomEncoding(), + false /* be strict */)); } }