From f043a1067bd8c2fd34f7e32b73a197be8e22df6e Mon Sep 17 00:00:00 2001 From: iroqueta Date: Thu, 26 Dec 2024 19:32:29 -0300 Subject: [PATCH] Check name lenght in URI File must only be checked in local environment Issue 202453 --- java/src/main/java/com/genexus/GXDbFile.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/src/main/java/com/genexus/GXDbFile.java b/java/src/main/java/com/genexus/GXDbFile.java index 913bf1478..b93ca607e 100644 --- a/java/src/main/java/com/genexus/GXDbFile.java +++ b/java/src/main/java/com/genexus/GXDbFile.java @@ -134,7 +134,8 @@ public static String generateUri(String file, Boolean addToken, Boolean addSchem { name = PrivateUtilities.encodeFileName(name); } - name = PrivateUtilities.checkFileNameLength(file.replace(name, ""), name, type); + else + name = PrivateUtilities.checkFileNameLength(file.replace(name, ""), name, type); if (!addScheme) {