/src/main/java/org/htmlunit/util/UrlUtils.java
startIndex = trailing;
startIndex = semicolonIndex;
endIndex = questionMarkIndex; } final int semicolonIndex = StringUtils.indexOf(spec, ';', startIndex, endIndex); if (semicolonIndex >= 0) { if ((locationStartIndex >= 0) && (locationEndIndex < 0)) { locationEndIndex = semicolonIndex; <extra_id_0> } url.parameters_ = spec.substring(semicolonIndex + 1, endIndex); endIndex = semicolonIndex; } if ((locationStartIndex >= 0) && (locationEndIndex < 0)) { locationEndIndex = endIndex;