RED-5293: fixed jdbcUrl-check by adding more checks
This commit is contained in:
parent
197162b61b
commit
27dcd61e3e
@ -138,7 +138,7 @@ public class TenantManagementService {
|
||||
// // same as above but with a URL object
|
||||
try {
|
||||
String startExpr = "jdbc:postgresql://";
|
||||
if (!jdbcUrl.startsWith("")) {
|
||||
if (!jdbcUrl.startsWith(startExpr)) {
|
||||
throw new IllegalArgumentException("Your jdbcUrl is not URL conform.");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user