henrib commented on code in PR #4537: URL: https://github.com/apache/hive/pull/4537#discussion_r1280898033
########## jdbc/src/java/org/apache/hive/jdbc/saml/HiveJdbcBrowserClient.java: ########## @@ -200,10 +206,47 @@ private Map<String, String> getQueryParams(URI ssoUri) return paramMap; } + /** + * The pattern for valid urls (http/s). + */ + private static final Pattern VALID_URL = createValidUrlPattern(); + private static Pattern createValidUrlPattern() { + final String validURLPattern = Review Comment: New solution posted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org