RED-5293: fixed jdbcUrl-check by adding URL check

This commit is contained in:
Ali Oezyetimoglu 2022-11-10 12:51:35 +01:00
parent 6b79c657ab
commit 907d88f658

View File

@ -133,9 +133,9 @@ public class TenantManagementService {
@SneakyThrows
private void validateJdbcUrl(String jdbcUrl) {
// just create a URL object to check if the string is a valid URL
new URI(jdbcUrl);
// same as above but with a URI object
new URL(jdbcUrl);
// same as above but with a URI object
new URI(jdbcUrl);
}