Bugfix: break loop in addTargetRequests #81

master
yihua.huang 2014-04-01 20:12:25 +08:00
parent d1563da33b
commit 97b6f46280
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class Page {
synchronized (targetRequests) {
for (String s : requests) {
if (StringUtils.isBlank(s) || s.equals("#") || s.startsWith("javascript:")) {
break;
continue;
}
s = UrlUtils.canonicalizeUrl(s, url.toString());
targetRequests.add(new Request(s));