1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Refactoring

This commit is contained in:
M66B 2024-06-28 07:57:10 +02:00
parent a4e1c24355
commit 500d022c97

View file

@ -418,9 +418,9 @@ public class UriHelper {
if (path != null)
path = path.toLowerCase(Locale.ROOT);
boolean first = "www.facebook.com".equals(host);
String q = url.getEncodedQuery();
if (q != null) {
if (!TextUtils.isEmpty(q)) {
boolean first = "www.facebook.com".equals(host);
StringBuilder sb = new StringBuilder();
for (String kv : q.split("&")) {
int eq = kv.indexOf('=');