Check for URIs in query parameters

pull/217/head
M66B 9 months ago
parent 4a2806c9e4
commit 748033cad6

@ -356,6 +356,20 @@ public class UriHelper {
Log.i(ex);
}
if (result == null && !BuildConfig.PLAY_STORE_RELEASE) {
for (String key : uri.getQueryParameterNames()) {
for (String value : uri.getQueryParameters(key)) {
Uri q = Uri.parse(value);
if (isHyperLink(q)) {
result = q;
break;
}
}
if (result != null)
break;
}
}
changed = (result != null && isHyperLink(result));
url = (changed ? result : uri);
}

Loading…
Cancel
Save