public static boolean isValidRootUrl(String url) {
        UrlValidator validator = new CustomUrlValidator();
        return validator.isValid(url);
    }
@Test
    @Issue("SECURITY-1471")
    public void ensureJavaScriptSchemaIsNotAllowed() {
        assertFalse(UrlHelper.isValidRootUrl("javascript:alert(123)"));
    }