Mercurial > hg > orthanc-authorization
comparison Plugin/Plugin.cpp @ 62:222f0652025f
fix get argument values that were transformed to lowercase
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 16 Nov 2022 14:42:48 +0100 |
parents | ad279c70c22d |
children | a89e1fcf56b1 |
comparison
equal
deleted
inserted
replaced
60:a2ed57d8a2f0 | 62:222f0652025f |
---|---|
346 uncheckedFolders_.push_back("/osimis-viewer/app/"); | 346 uncheckedFolders_.push_back("/osimis-viewer/app/"); |
347 uncheckedFolders_.push_back("/osimis-viewer/languages/"); | 347 uncheckedFolders_.push_back("/osimis-viewer/languages/"); |
348 uncheckedResources_.insert("/osimis-viewer/config.js"); | 348 uncheckedResources_.insert("/osimis-viewer/config.js"); |
349 | 349 |
350 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "token")); | 350 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "token")); |
351 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_GetArgument, "token")); // for download links | |
351 } | 352 } |
352 | 353 |
353 if (standardConfigurations.find("stone-webviewer") != standardConfigurations.end()) | 354 if (standardConfigurations.find("stone-webviewer") != standardConfigurations.end()) |
354 { | 355 { |
355 uncheckedFolders_.push_back("/stone-webviewer/"); | 356 uncheckedFolders_.push_back("/stone-webviewer/"); |