Mercurial > hg > orthanc-authorization
comparison Plugin/DefaultAuthorizationParser.cpp @ 152:9f686ee4b158
Added missing parsing of /dicom-web/studies/.../instances
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 15 Mar 2024 09:08:21 +0100 |
parents | 9be1ee2b8fe1 |
children | c4b908970ae4 |
comparison
equal
deleted
inserted
replaced
151:e7cee71a2f86 | 152:9f686ee4b158 |
---|---|
44 tmp = tmp.substr(0, tmp.size() - 1); | 44 tmp = tmp.substr(0, tmp.size() - 1); |
45 } | 45 } |
46 | 46 |
47 // note: if you add new DICOMWeb routes here, add them in the DefaultConfiguration.json too | 47 // note: if you add new DICOMWeb routes here, add them in the DefaultConfiguration.json too |
48 dicomWebStudies_ = boost::regex( | 48 dicomWebStudies_ = boost::regex( |
49 "^" + tmp + "/studies/([.0-9]+)(|/series|/metadata)(|/)$"); | 49 "^" + tmp + "/studies/([.0-9]+)(|/series|/metadata|/instances)(|/)$"); |
50 | 50 |
51 dicomWebSeries_ = boost::regex( | 51 dicomWebSeries_ = boost::regex( |
52 "^" + tmp + "/studies/([.0-9]+)/series/([.0-9]+)(|/instances|/rendered|/metadata)(|/)$"); | 52 "^" + tmp + "/studies/([.0-9]+)/series/([.0-9]+)(|/instances|/rendered|/metadata)(|/)$"); |
53 | 53 |
54 dicomWebInstances_ = boost::regex( | 54 dicomWebInstances_ = boost::regex( |