only trust subdomains of .cryptomator.cloud

not `notcryptomator.cloud`
This commit is contained in:
Sebastian Stenzel
2026-03-11 23:13:50 +01:00
parent f44c3531c7
commit c75430cde2

View File

@@ -32,7 +32,7 @@ public class CheckHostTrustController implements FxController {
private static final Logger LOG = LoggerFactory.getLogger(CheckHostTrustController.class);
private static final String MESSAGE_SINGULAR_KEY = "hub.checkHostTrust.message";
private static final String MESSAGE_PLURAL_KEY = "hub.checkHostTrust.message.plural";
private static final String TRUSTED_CRYPTOMATOR_CLOUD_DOMAIN = "cryptomator.cloud";
private static final String TRUSTED_CRYPTOMATOR_CLOUD_DOMAIN = ".cryptomator.cloud";
private final Stage window;
private final HubConfig hubConfig;