Skip to content

Commit

Permalink
Merge branch 'ARI-4682'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunter Stern committed Feb 19, 2016
2 parents 5a1e690 + f4018b0 commit f1a6995
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,17 +201,17 @@ public int writeLine(CDXLine line) {
result.setUrlKey(line.getUrlKey());
result.setCaptureTimestamp(timestamp);
result.setOriginalUrl(originalUrl);

if (excludeCaptureWithUserInfo) {
// Special case: filter out captures that have userinfo
boolean hasUserInfo = (UrlOperations.urlToUserInfo(result
.getOriginalUrl()) != null);
boolean hasUserInfo = (UrlOperations.urlToUserInfo(result
.getOriginalUrl()) != null);

if (hasUserInfo) {
return 0;
}
if (hasUserInfo) {
return 0;
}
}

result.setRedirectUrl(line.getRedirect());
result.setHttpCode(line.getStatusCode());

Expand Down

0 comments on commit f1a6995

Please sign in to comment.