We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3922aef commit fdb14e0Copy full SHA for fdb14e0
crawler4j-commons/src/main/java/edu/uci/ics/crawler4j/url/UrlResolver.java
@@ -221,7 +221,7 @@ private static Url parseUrl(final String spec) {
221
// location/login (<net_loc>) of the URL.
222
locationEndIndex = endIndex;
223
} else if (startIndex < endIndex) {
224
- url.path = spec.substring(startIndex, endIndex);
+ url.path = spec.substring(startIndex, endIndex).replaceAll("\\\\", "/");
225
}
226
// Set the network location/login (<net_loc>) of the URL.
227
if ((locationStartIndex >= 0) && (locationEndIndex >= 0)) {
0 commit comments