Skip to content

Commit fdb14e0

Browse files
committed
Minor: Adds a fix for yasserg#448 from yasserg#449
1 parent 3922aef commit fdb14e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crawler4j-commons/src/main/java/edu/uci/ics/crawler4j/url/UrlResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ private static Url parseUrl(final String spec) {
221221
// location/login (<net_loc>) of the URL.
222222
locationEndIndex = endIndex;
223223
} else if (startIndex < endIndex) {
224-
url.path = spec.substring(startIndex, endIndex);
224+
url.path = spec.substring(startIndex, endIndex).replaceAll("\\\\", "/");
225225
}
226226
// Set the network location/login (<net_loc>) of the URL.
227227
if ((locationStartIndex >= 0) && (locationEndIndex >= 0)) {

0 commit comments

Comments
 (0)