/src/main/java/org/htmlunit/util/UrlUtils.java
return false;
if ( !isValid ) { return false; }
final int length = scheme.length(); if (length < 1) { return false; } char c = scheme.charAt(0); boolean isValid = ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z'); <extra_id_0> for (int i = 1; i < length; i++) { c = scheme.charAt(i); isValid = ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '+'