changeset 5250:1acd709c8772 db-protobuf

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 08 Apr 2023 10:14:09 +0200
parents f22c8fac764b
children a2dd9d03977f
files OrthancServer/Sources/ServerToolbox.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerToolbox.cpp	Fri Apr 07 22:54:57 2023 +0200
+++ b/OrthancServer/Sources/ServerToolbox.cpp	Sat Apr 08 10:14:09 2023 +0200
@@ -305,8 +305,7 @@
       
       for (size_t i = 0; i < label.size(); i++)
       {
-        if (!(label[i] == '.' ||
-              label[i] == '_' ||
+        if (!(label[i] == '_' ||
               label[i] == '-' ||
               (label[i] >= 'a' && label[i] <= 'z') ||
               (label[i] >= 'A' && label[i] <= 'Z') ||
@@ -326,7 +325,7 @@
       {
         throw OrthancException(ErrorCode_ParameterOutOfRange,
                                "A label must be a non-empty, alphanumeric string, "
-                               "possibly with '.', '_', or '-' characters, "
+                               "possibly with '_' or '-' characters, "
                                "with maximum 64 characters, but got: " + label);
       }
     }