Skip to content

Commit

Permalink
Change "whitelisted" to "white listed" (ampproject#18301)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardogoncalves authored and nainar committed Sep 24, 2018
1 parent 61c7a2a commit 425cf9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/amp-var-substitutions.md
Expand Up @@ -70,7 +70,7 @@ The following table lists the features that enable variable substitutions, as we
<ul>
<li>Page’s source origin</li>
<li>Page’s canonical origin</li>
<li>An origin whitelisted via the <code>amp-link-variable-allowed-origin</code> <code>meta</code> tag</li>
<li>An origin white listed via the <code>amp-link-variable-allowed-origin</code> <code>meta</code> tag</li>
</ul>
</td>
<td width="25%">Yes, via space-delimited attribute <code>data-amp-replace</code>. Read more about <a href="#per-use-opt-in">per-use opt-in</a></td>
Expand Down Expand Up @@ -118,13 +118,13 @@ If you need to append dynamic parameters to the href, specify the parameters by
<a href="https://example.com?abc=QUERY_PARAM(abc)" data-amp-replace="CLIENT_ID QUERY_PARAM" data-amp-addparams="client_id=CLIENT_ID(bar)&linkid=l123">Go to my site</a>
```

### Whitelisted domains for link substitution
### White listed domains for link substitution

Link substitutions are restricted and will only be fulfilled for URLs matching:

* The page’s source origin
* The page’s canonical origin
* A whitelisted origin
* A white listed origin

To whitelist an origin, include a `amp-link-variable-allowed-origin` `meta` tag in the `head` of your document. To specify multiple domains, separate each domain with a space.

Expand Down

0 comments on commit 425cf9f

Please sign in to comment.