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