Sanitize link titles

This commit is contained in:
M66B 2020-04-25 18:34:01 +02:00
parent 9a178b2565
commit d7466a7fdc
1 changed files with 6 additions and 1 deletions

View File

@ -5264,7 +5264,12 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override
public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
final Uri uri = getArguments().getParcelable("uri");
final String title = getArguments().getString("title");
String _title = getArguments().getString("title");
if (_title != null)
_title = _title.replace("\uFFFC", ""); // Object replacement character
if (TextUtils.isEmpty(_title))
_title = null;
final String title = _title;
// Preload web view
Helper.customTabsWarmup(getContext());