RED-5293: fixed jdbcUrl-check by adding URL check
This commit is contained in:
parent
6b79c657ab
commit
907d88f658
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user