Project

General

Profile

Actions

Bug #468

closed

Create a check when attempting to open a URL with a browser

Added by Soren Stoutner over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Next Release
Start date:
06/21/2019
Due date:
% Done:

0%

Estimated time:

Description

Some non-standard URLs can cause the system to crash.

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAYFBMVEX39/f4+Pj5+fn8/PyoqKjZ2dn09PTm5uYyMjLx8fHp6ene3t5HR0fFxcU5OTm1tbWTk5O+vr6tra10dHR+fn4/Pz+EhISfn5+MjIxlZWVvb29PT08dHR27u7taWlrV1dV/GLK5AAAAm0lEQVQYlX2PNxLDMAwEAYgkGCRGZSv8/5emQmtvcYPZQbMACJV7foBUQUIEgnoBWFlhyZatYukUyLb0QzdOcxwh+VkBLSVot88rz4q1aKCJn33bhdBdeEXycRuFOfxJtyCn12MI6NoF7CXAtEfczuQ6L8IlkNaSWpMDf4biQ/2gnF3E3E+T6Fe+GoxRBoxlpaR5mp68uoR/K1++K/4HpOjKAZoAAAAASUVORK5CYII= typ=text/html flg=0x10000000 }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2030)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1685)
at android.app.Activity.startActivityForResult(Activity.java:4482)
at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:767)
at android.app.Activity.startActivityForResult(Activity.java:4440)
at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:754)
at android.app.Activity.startActivity(Activity.java:4805)
at android.app.Activity.startActivity(Activity.java:4773)
at com.stoutner.privacybrowser.activities.MainWebViewActivity.openWithBrowser(MainWebViewActivity.java:4043)

Actions

Also available in: Atom PDF