forked from Archives/Athou_commafeed
fix relative url detection when entry link starts with a blank space or blank line
This commit is contained in:
@@ -340,6 +340,7 @@ public class FeedUtils {
|
||||
}
|
||||
|
||||
public static String toAbsoluteUrl(String url, String baseUrl) {
|
||||
url = StringUtils.trimToNull(StringUtils.normalizeSpace(url));
|
||||
if (baseUrl == null || url == null || url.startsWith("http")) {
|
||||
return url;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user