# HG changeset patch # User Alain Mazy # Date 1598439039 -7200 # Node ID a203d0a4fd8ff04f74fc501ab4ce3a63f8af7130 # Parent 1b85dc5eb3723db8058bfa4920a0084b07dc17bf Azure: now removing spaces and CR at the end of the connectionString since it prevented the plugin to initialize. diff -r 1b85dc5eb372 -r a203d0a4fd8f Azure/AzureBlobStoragePlugin.cpp --- a/Azure/AzureBlobStoragePlugin.cpp Wed Aug 26 11:15:14 2020 +0200 +++ b/Azure/AzureBlobStoragePlugin.cpp Wed Aug 26 12:50:39 2020 +0200 @@ -21,6 +21,7 @@ #include #include #include +#include #include "cpprest/rawptrstream.h" @@ -170,6 +171,8 @@ return nullptr; } + boost::trim(connectionString); // without that, if there's an EOL in the string, it fails with "provided uri is invalid" + boost::trim(containerName); } else if (orthancConfig.IsSection("BlobStorage")) // backward compatibility with the old plugin: { diff -r 1b85dc5eb372 -r a203d0a4fd8f NEWS --- a/NEWS Wed Aug 26 11:15:14 2020 +0200 +++ b/NEWS Wed Aug 26 12:50:39 2020 +0200 @@ -1,6 +1,8 @@ Pending changes in the mainline =============================== +* Azure: now removing spaces and CR at the end of the connectionString since it prevented the plugin to initialize. + 2020-07-20 - v 0.9.2 ====================