|
|
@ -433,17 +433,15 @@ public class UriHelper {
|
|
|
|
for (String value : url.getQueryParameters(key)) {
|
|
|
|
for (String value : url.getQueryParameters(key)) {
|
|
|
|
Log.i("Query " + key + "=" + value);
|
|
|
|
Log.i("Query " + key + "=" + value);
|
|
|
|
|
|
|
|
|
|
|
|
if (clean != null && clean.contains(key))
|
|
|
|
if (clean == null || !clean.contains(key)) {
|
|
|
|
changed = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!changed) {
|
|
|
|
|
|
|
|
Uri suri = Uri.parse(value);
|
|
|
|
Uri suri = Uri.parse(value);
|
|
|
|
if (suri != null && isHyperLink(suri)) {
|
|
|
|
if (suri != null && isHyperLink(suri)) {
|
|
|
|
Uri s = sanitize(context, suri);
|
|
|
|
Uri s = sanitize(context, suri);
|
|
|
|
return (s == null ? suri : s);
|
|
|
|
return (s == null ? suri : s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
builder.appendQueryParameter(key, value);
|
|
|
|
builder.appendQueryParameter(key, value);
|
|
|
|
}
|
|
|
|
} else
|
|
|
|
|
|
|
|
changed = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
first = false;
|
|
|
|
first = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|