2
0

Fix filename for coverimage if url contains parameters

This commit is contained in:
glax 2023-09-13 23:00:27 +02:00
parent d6b5a29fdc
commit 7fa44fba54

View File

@ -238,8 +238,7 @@ public abstract class MangaConnector : GlobalBase
protected string SaveCoverImageToCache(string url, byte requestType)
{
string[] split = url.Split('/');
string filename = split[^1];
string filename = url.Split('/')[^1].Split('?')[0];
string saveImagePath = Path.Join(settings.coverImageCache, filename);
if (File.Exists(saveImagePath))