# HG changeset patch # User Sebastien Jodogne # Date 1680944019 -7200 # Node ID a2dd9d03977fe0985e48d36f5fd1497f477a2287 # Parent 1acd709c87721d2d91b3da63237d8a756e04129f fix diff -r 1acd709c8772 -r a2dd9d03977f OrthancServer/UnitTestsSources/ServerIndexTests.cpp --- a/OrthancServer/UnitTestsSources/ServerIndexTests.cpp Sat Apr 08 10:14:09 2023 +0200 +++ b/OrthancServer/UnitTestsSources/ServerIndexTests.cpp Sat Apr 08 10:53:39 2023 +0200 @@ -1046,8 +1046,9 @@ { ASSERT_TRUE(ServerToolbox::IsValidLabel("abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ")); - ASSERT_TRUE(ServerToolbox::IsValidLabel("0123456789-_.")); + ASSERT_TRUE(ServerToolbox::IsValidLabel("0123456789-_")); ASSERT_FALSE(ServerToolbox::IsValidLabel("")); ASSERT_FALSE(ServerToolbox::IsValidLabel(" ")); ASSERT_FALSE(ServerToolbox::IsValidLabel("&")); + ASSERT_FALSE(ServerToolbox::IsValidLabel(".")); }