fixed save obscurbed azure connection_string for bucket credential (#443)

* fixed save obscurbed azure connection_string for bucket credential

* wip
This commit is contained in:
Hoan Luu Huu
2025-05-09 18:46:59 +07:00
committed by GitHub
parent 27c3664391
commit be300ebd51

View File

@@ -57,7 +57,7 @@ function isObscureKey(bucketCredentials) {
pattern = /^([A-Za-z0-9]{4,6}X+$)/;
return pattern.test(secret_access_key);
case 'azure':
pattern = /^https:[A-Za-z0-9\/.:?=&_-]+$/;
pattern = /^([A-Za-z0-9:]{4,6}X+$)/;
return pattern.test(connection_string);
case 'google': {