/src/main/java/org/htmlunit/util/UrlUtils.java
if ( ( locationStartIndex >= 0 ) && ( locationEndIndex < 0 ) ) { locationEndIndex = endIndex; }
locationEndIndex = semicolonIndex; startIndex = semicolonIndex; } url.parameters_ = spec.substring(semicolonIndex + 1, endIndex); endIndex = semicolonIndex; } <extra_id_0> else if (startIndex < endIndex) { url.path_ = spec.substring(startIndex, endIndex); } if ((locationStartIndex >= 0) && (locationEndIndex >= 0)) { url.location_ = spec.substring(locationStartIndex, locationEndIndex); }