mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Simplification
This commit is contained in:
parent
97c18d6f1b
commit
26ae3cdc9d
1 changed files with 3 additions and 5 deletions
|
@ -433,17 +433,15 @@ public class UriHelper {
|
|||
for (String value : url.getQueryParameters(key)) {
|
||||
Log.i("Query " + key + "=" + value);
|
||||
|
||||
if (clean != null && clean.contains(key))
|
||||
changed = true;
|
||||
|
||||
if (!changed) {
|
||||
if (clean == null || !clean.contains(key)) {
|
||||
Uri suri = Uri.parse(value);
|
||||
if (suri != null && isHyperLink(suri)) {
|
||||
Uri s = sanitize(context, suri);
|
||||
return (s == null ? suri : s);
|
||||
}
|
||||
builder.appendQueryParameter(key, value);
|
||||
}
|
||||
} else
|
||||
changed = true;
|
||||
}
|
||||
first = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue