mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Open images/favicons unsafe (http, invalid certificate, etc)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user