Hierarchical URIs can have parameters only

pull/199/head
M66B 3 years ago
parent 7357d926b8
commit 3dc2c6ceea

@ -576,6 +576,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
index, index + host.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); index, index + host.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
} }
if (uri.isHierarchical())
for (String name : uri.getQueryParameterNames()) { for (String name : uri.getQueryParameterNames()) {
Pattern pattern = Pattern.compile("[?&]" + Pattern.quote(name) + "="); Pattern pattern = Pattern.compile("[?&]" + Pattern.quote(name) + "=");
Matcher matcher = pattern.matcher(text); Matcher matcher = pattern.matcher(text);

Loading…
Cancel
Save