fix(system/storage): 修复对象存储域名配置

This commit is contained in:
2025-06-22 19:45:06 +08:00
parent c5ae9f3cc9
commit 342ab57842
4 changed files with 61 additions and 60 deletions

View File

@@ -59,6 +59,11 @@ public class RegexConstants {
*/
public static final String PACKAGE_NAME = "^(?:[a-zA-Z_][a-zA-Z0-9_]*\\.)*[a-zA-Z_][a-zA-Z0-9_]*$";
/**
* HTTP 域名 URL 正则
*/
public static final String HTTP_DOMAIN_URL = "^(https?:\\/\\/)([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}(\\/[^\\s]*)?$";
private RegexConstants() {
}
}