From 3fe127b497c2cd8aea89d4d202c018733586c4c5 Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Sun, 20 Mar 2022 13:45:14 +0100 Subject: [PATCH] Regex : correction de DOMAIN --- .../java/lightcontainer/protocol/StandardizedDefinitions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/lightcontainer/protocol/StandardizedDefinitions.java b/app/src/main/java/lightcontainer/protocol/StandardizedDefinitions.java index c7b449b..c1eb004 100644 --- a/app/src/main/java/lightcontainer/protocol/StandardizedDefinitions.java +++ b/app/src/main/java/lightcontainer/protocol/StandardizedDefinitions.java @@ -15,7 +15,7 @@ public class StandardizedDefinitions { private final static String PASSWORD = PASSCHAR + "{5,50}"; private final static String BL = "\\x20"; private final static String FILENAME = PASSCHAR + "{1,20}"; - private final static String DOMAIN = "[a-z-A-Z0-9\\.]{5,20}"; + private final static String DOMAIN = "[a-z-A-Z0-9.]{5,20}"; private final static String HASH_FILENAME = DIGIT_LETTER + "{50,200}"; private final static String HASH_FILECONTENT = DIGIT_LETTER + "{50,200}"; private final static String FILE_INFO = "(" + HASH_FILENAME + ")" + BL + "(" + SIZE + ")" + BL + "(" + HASH_FILECONTENT + ")";