# HG changeset patch # User Sebastien Jodogne # Date 1740397461 -3600 # Node ID 66d13281d91399b0c8aa948de8c49329f2463261 # Parent fa5aa4209b6336148d9517e9cd02945502d298cd typos diff -r fa5aa4209b63 -r 66d13281d913 OrthancFramework/Sources/HttpServer/HttpServer.cpp --- a/OrthancFramework/Sources/HttpServer/HttpServer.cpp Mon Feb 24 09:09:31 2025 +0100 +++ b/OrthancFramework/Sources/HttpServer/HttpServer.cpp Mon Feb 24 12:44:21 2025 +0100 @@ -699,7 +699,7 @@ const HttpToolbox::Arguments& headers, const HttpToolbox::GetArguments& argumentsGET) { - std::string overriden; + std::string overridden; // Check whether some PUT/DELETE faking is done @@ -709,7 +709,7 @@ if (methodOverride != headers.end()) { - overriden = methodOverride->second; + overridden = methodOverride->second; } else if (!strcmp(request->request_method, "GET")) { @@ -719,25 +719,25 @@ { if (argumentsGET[i].first == "_method") { - overriden = argumentsGET[i].second; + overridden = argumentsGET[i].second; break; } } } - if (overriden.size() > 0) + if (overridden.size() > 0) { // A faking has been done within this request - Toolbox::ToUpperCase(overriden); + Toolbox::ToUpperCase(overridden); - CLOG(INFO, HTTP) << "HTTP method faking has been detected for " << overriden; + CLOG(INFO, HTTP) << "HTTP method faking has been detected for " << overridden; - if (overriden == "PUT") + if (overridden == "PUT") { method = HttpMethod_Put; return true; } - else if (overriden == "DELETE") + else if (overridden == "DELETE") { method = HttpMethod_Delete; return true; diff -r fa5aa4209b63 -r 66d13281d913 OrthancServer/Resources/Configuration.json --- a/OrthancServer/Resources/Configuration.json Mon Feb 24 09:09:31 2025 +0100 +++ b/OrthancServer/Resources/Configuration.json Mon Feb 24 12:44:21 2025 +0100 @@ -214,7 +214,7 @@ // "?" accepts any single character at that position. // "*" accepts any string value at that position. // If you want to add a a SOP class that is not defined in - // DCMTK defaults, you must add it explicitely. + // DCMTK defaults, you must add it explicitly. // (new in Orthanc 1.12.6) // Example to add a non standard class // and keep the default ones: @@ -531,9 +531,9 @@ // accept C-FIND requests from Orthanc (new in Orthanc 1.8.1). "DicomEchoChecksFind" : false, - // Wheter Orthanc uses C-MOVE or C-GET to retrieve a resource after + // Whether Orthanc uses C-MOVE or C-GET to retrieve a resource after // a C-Find (when calling /queries/.../retrieve). - // This configuration can be overriden for each modality by providing + // This configuration can be overridden for each modality by providing // "RetrieveMethod" in the "DicomModalities" entry. // (new in Orthanc 1.12.6) "DicomDefaultRetrieveMethod" : "C-MOVE", diff -r fa5aa4209b63 -r 66d13281d913 OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Mon Feb 24 09:09:31 2025 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Mon Feb 24 12:44:21 2025 +0100 @@ -1697,7 +1697,7 @@ "Usage of wildcards is prohibited and the query shall only contain DICOM ID tags. " "Additionally, you may provide SOPClassesInStudy to limit the scope of the DICOM " "negotiation to certain SOPClassUID or to present uncommon SOPClassUID during " - "the DICOM negotation. By default, " + "the DICOM negotiation. By default, " "Orhanc will propose the most 120 common SOPClassUIDs.", true) .SetRequestField(KEY_QUERY, RestApiCallDocumentation::Type_JsonObject, "A query object identifying all the DICOM resources to be retrieved", true) diff -r fa5aa4209b63 -r 66d13281d913 OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Mon Feb 24 09:09:31 2025 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Mon Feb 24 12:44:21 2025 +0100 @@ -946,7 +946,7 @@ } else { - // if present and not explicitely set to false + // if present and not explicitly set to false if (call.HasArgument("returnUnsupportedImage") && call.GetBooleanArgument("returnUnsupportedImage", true)) { std::string root = ""; diff -r fa5aa4209b63 -r 66d13281d913 TODO --- a/TODO Mon Feb 24 09:09:31 2025 +0100 +++ b/TODO Mon Feb 24 12:44:21 2025 +0100 @@ -36,7 +36,7 @@ For a DICOM Transfer, that would be nice to include the modality in the context + a study identifier or a job id. * (1) Accept extra DICOM tags dictionaries in the DCMTK format '.dic' (easier to use than declare them in the Orthanc configuration file). Even the standard dictionaries could be - overriden by these custom dictionaries. + overridden by these custom dictionaries. * Add configurations to enable/disable warnings: - Modifying an instance while keeping its original SOPInstanceUID: This should be avoided! - Modifying a study while keeping its original StudyInstanceUID: This should be avoided!