Mercurial > hg > orthanc
diff OrthancServer/Internals/CommandDispatcher.cpp @ 690:2e67366aab83
case-insensitive matching of Application Entity Titles
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Feb 2014 15:54:46 +0100 |
parents | 2d0a347e8cfc |
children | 0a2f8c707c78 |
line wrap: on
line diff
--- a/OrthancServer/Internals/CommandDispatcher.cpp Mon Feb 03 16:06:58 2014 +0100 +++ b/OrthancServer/Internals/CommandDispatcher.cpp Tue Feb 04 15:54:46 2014 +0100 @@ -385,12 +385,8 @@ callingIP = std::string(/*OFSTRING_GUARD*/(callingIP_C)); callingTitle = std::string(/*OFSTRING_GUARD*/(callingTitle_C)); std::string calledTitle(/*OFSTRING_GUARD*/(calledTitle_C)); - Toolbox::ToUpperCase(callingIP); - Toolbox::ToUpperCase(callingTitle); - Toolbox::ToUpperCase(calledTitle); - if (server.HasCalledApplicationEntityTitleCheck() && - calledTitle != server.GetApplicationEntityTitle()) + if (!server.IsMyAETitle(calledTitle)) { T_ASC_RejectParameters rej = {