@Test
    public void testJdbcUrlValid() {
        final String jdbcUrl = "jdbc:mysql://localhost:8066/dbtest?"
                + "detectCustomCollations=true&autoDeserialize=true";
        final String expectResult = "jdbc:mysql://localhost:8066/dbtest?"
                + "detectCustomCollations=true&autoDeserialize=false";
        Assert.assertEquals(expectResult, JdbcUrlUtils.replaceInvalidUrlProperty(jdbcUrl));

        final String jdbcUrlWithCase = "jdbc:mysql://localhost:8066/dbtest?"
                + "detectCustomCollations=true&autoDeserialize=tRue";
        final String expectResultWithoutCase = "jdbc:mysql://localhost:8066/dbtest?"
                + "detectCustomCollations=true&autoDeserialize=false";
        Assert.assertEquals(expectResultWithoutCase, JdbcUrlUtils.replaceInvalidUrlProperty(jdbcUrlWithCase));

    }
Test for validate jdbc url, see https://su18.org/post/jdbc-connection-url-attack/
inlong-sort/sort-flink/base/src/test/java/org/apache/inlong/sort/base/metric/TestUrlValidate.java