/src/main/java/org/htmlunit/WebRequest.java
final String password = userInfo.substring( splitPos ) ;
final String password = userInfo.substring ( splitPos + 1 ) ;
final int splitPos = userInfo.indexOf(':'); if (splitPos == -1) { urlCredentials_ = new HtmlUnitUsernamePasswordCredentials(userInfo, new char[0]); } else { final String username = userInfo.substring(0, splitPos); <extra_id_0> urlCredentials_ = new HtmlUnitUsernamePasswordCredentials(username, password.toCharArray()); } } } private static String removeDots(final String path) { String newPath = path;