mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
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