Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancWebDav.cpp @ 5058:d4e5ca0c9307
Fix the "Never" option of the "StorageAccessOnFind" that was sill accessing files (bug introduced in 1.11.0)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 03 Aug 2022 10:49:50 +0200 |
parents | 8422e4f99a18 |
children | 0ea402b4d901 |
comparison
equal
deleted
inserted
replaced
5057:e6f26be401fa | 5058:d4e5ca0c9307 |
---|---|
259 const Json::Value* dicomAsJson /* unused (*) */) ORTHANC_OVERRIDE | 259 const Json::Value* dicomAsJson /* unused (*) */) ORTHANC_OVERRIDE |
260 { | 260 { |
261 Json::Value resource; | 261 Json::Value resource; |
262 std::set<DicomTag> emptyRequestedTags; // not supported for webdav | 262 std::set<DicomTag> emptyRequestedTags; // not supported for webdav |
263 | 263 |
264 if (context_.ExpandResource(resource, publicId, level_, DicomToJsonFormat_Human, emptyRequestedTags)) | 264 if (context_.ExpandResource(resource, publicId, level_, DicomToJsonFormat_Human, emptyRequestedTags, true /* allowStorageAccess */)) |
265 { | 265 { |
266 if (success_) | 266 if (success_) |
267 { | 267 { |
268 success_ = false; // Two matches => Error | 268 success_ = false; // Two matches => Error |
269 } | 269 } |