Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76de2c0c authored by Christopher Tate's avatar Christopher Tate
Browse files

Implement wildcard support for autoVerify web-link intent filters

Bug 28851367

Change-Id: I87bc104bd93f21d6504dcc40d59b5f97c7a277ff
parent f44feb36
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -96,7 +96,12 @@ public class IntentFilterVerificationState {
            if (i > 0) {
                sb.append(" ");
            }
            sb.append(mHosts.valueAt(i));
            String host = mHosts.valueAt(i);
            // "*.example.tld" is validated via https://example.tld
            if (host.startsWith("*.")) {
                host = host.substring(2);
            }
            sb.append(host);
        }
        return sb.toString();
    }