DescriptionSupport subdomain matching in trial tokens
This CL adds support for subdomain trial tokens, such that a properly
issued token will enable a trial for multiple subdomains, rather than a
single specified origin.
In bug 653349, it was proposed to use a leading "*" to indicate a
wildcard token (e.g. *.example.com). In this implementation, an explicit
flag was added to the token format. The explicit flag keeping the token
parsing simple, by keeping the url::Origin as the representation of the
origin, and avoiding custom string parsing.
BUG=653349
Committed: https://crrev.com/4f0cb8e9b16a270d0a7fd313f161b4c2c9a0df29
Cr-Commit-Position: refs/heads/master@{#425168}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Update token generation script #Patch Set 3 : Change to subdomain naming #Patch Set 4 : One more change for rename #Patch Set 5 : Rebase #Patch Set 6 : Add fuzzer data for subdomain tokens #
Total comments: 4
Messages
Total messages: 31 (20 generated)
|