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

Commit 32015d05 authored by Chris Tate's avatar Chris Tate Committed by Android (Google) Code Review
Browse files

Merge "Implement wildcard support for autoVerify web-link intent filters" into nyc-mr1-dev

parents 7d656b62 76de2c0c
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();
    }