From 3c663ee280c0e3879c454e19a08eb4aad226675d Mon Sep 17 00:00:00 2001 From: tobiichiamane Date: Thu, 13 Feb 2020 23:47:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E8=BD=BD=E5=9B=BE=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E6=96=B9=E6=A1=88=EF=BC=88=EF=BC=9F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PixivFSUWP/Data/OverAll.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PixivFSUWP/Data/OverAll.cs b/PixivFSUWP/Data/OverAll.cs index a40fa9f..8c8bb12 100644 --- a/PixivFSUWP/Data/OverAll.cs +++ b/PixivFSUWP/Data/OverAll.cs @@ -57,8 +57,13 @@ public static void RefreshRankingList() } //携带缓存的图像下载 - public static async Task DownloadImage(string Uri) + public static async Task DownloadImage(string _Uri) { + var Uri = _Uri; + if (Uri.StartsWith("https")) + { + Uri = Uri.Replace("https://", "http://"); + } var tmpFileName = Uri.Split('/').Last(); var cachedFile = await CacheManager.GetCachedFileAsync(tmpFileName); if (cachedFile == null)