Open images/favicons unsafe (http, invalid certificate, etc)

This commit is contained in:
M66B
2022-08-13 19:29:36 +02:00
parent 0f6cd802aa
commit ed93b3a432
8 changed files with 122 additions and 85 deletions

View File

@@ -692,7 +692,7 @@ class ImageHelper {
Bitmap bm;
HttpURLConnection urlConnection = null;
try {
urlConnection = Helper.openUrlRedirect(context, source, timeout);
urlConnection = ConnectionHelper.openConnectionUnsafe(context, source, timeout, timeout);
if (id > 0 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
File file = getCacheFile(context, id, source, ".blob");