continue with normalization even when the canonicalizer returns null

This commit is contained in:
Athou
2013-07-03 13:15:11 +02:00
parent ef4dfe2ff5
commit 4f09d650f6

View File

@@ -98,7 +98,7 @@ public class FeedUtils {
}
String normalized = URLCanonicalizer.getCanonicalURL(url);
if (normalized == null) {
return url;
normalized = url;
}
// convert to lower case, the url probably won't work in some cases