mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 08:44:20 +01:00
Prevent HTTP fetch attempts on invalid URLs (e.g., relative URLs without a base) by returning early after caching them. This eliminates the error: "failed ehttp for UrlMimes: Bad URL: failed to parse URL: RelativeUrlWithoutBase" The fix ensures invalid URLs are cached with a never-expire timestamp and the function returns immediately, avoiding unnecessary HTTP requests and error logs.