RED-5293: fixed jdbcUrl-check by adding URL check
This commit is contained in:
parent
56963986be
commit
6b79c657ab
@ -132,9 +132,9 @@ public class TenantManagementService {
|
||||
|
||||
@SneakyThrows
|
||||
private void validateJdbcUrl(String jdbcUrl) {
|
||||
// just create a URI object to check if the string is a valid URI
|
||||
// just create a URL object to check if the string is a valid URL
|
||||
new URI(jdbcUrl);
|
||||
// same as above but with a URL object
|
||||
// same as above but with a URI object
|
||||
new URL(jdbcUrl);
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user