{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/13533","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/13533/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/13533/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/13533/events","html_url":"https://github.com/ampproject/amphtml/pull/13533","id":297942273,"number":13533,"title":"Support whitelisting of AMP variable substitutions","user":{"login":"hamousavi","id":15312195,"avatar_url":"https://avatars0.githubusercontent.com/u/15312195?v=4","gravatar_id":"","url":"https://api.github.com/users/hamousavi","html_url":"https://github.com/hamousavi","followers_url":"https://api.github.com/users/hamousavi/followers","following_url":"https://api.github.com/users/hamousavi/following{/other_user}","gists_url":"https://api.github.com/users/hamousavi/gists{/gist_id}","starred_url":"https://api.github.com/users/hamousavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamousavi/subscriptions","organizations_url":"https://api.github.com/users/hamousavi/orgs","repos_url":"https://api.github.com/users/hamousavi/repos","events_url":"https://api.github.com/users/hamousavi/events{/privacy}","received_events_url":"https://api.github.com/users/hamousavi/received_events","type":"User","site_admin":false},"labels":[{"id":596633554,"url":"https://api.github.com/repos/ampproject/amphtml/labels/cla:%20yes","name":"cla: yes","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-16T22:40:18Z","updated_at":"2018-02-28T22:53:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/13533","html_url":"https://github.com/ampproject/amphtml/pull/13533","diff_url":"https://github.com/ampproject/amphtml/pull/13533.diff","patch_url":"https://github.com/ampproject/amphtml/pull/13533.patch"},"body":"If a whitelist of variables is provided using meta tags for example as follows\r\n`<meta name=\"amp-variable-substitution-whitelist\" content=\"RANDOM,TIMEZONE\">`\r\nthen the runtime should respect it. In order to do this we parse the meta tag in the class `VariableSource`. @zhangsu  @choumx"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/369412174","html_url":"https://github.com/ampproject/amphtml/pull/13533#issuecomment-369412174","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/13533","id":369412174,"user":{"login":"honeybadgerdontcare","id":1340565,"avatar_url":"https://avatars2.githubusercontent.com/u/1340565?v=4","gravatar_id":"","url":"https://api.github.com/users/honeybadgerdontcare","html_url":"https://github.com/honeybadgerdontcare","followers_url":"https://api.github.com/users/honeybadgerdontcare/followers","following_url":"https://api.github.com/users/honeybadgerdontcare/following{/other_user}","gists_url":"https://api.github.com/users/honeybadgerdontcare/gists{/gist_id}","starred_url":"https://api.github.com/users/honeybadgerdontcare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeybadgerdontcare/subscriptions","organizations_url":"https://api.github.com/users/honeybadgerdontcare/orgs","repos_url":"https://api.github.com/users/honeybadgerdontcare/repos","events_url":"https://api.github.com/users/honeybadgerdontcare/events{/privacy}","received_events_url":"https://api.github.com/users/honeybadgerdontcare/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T22:53:20Z","updated_at":"2018-02-28T22:53:20Z","author_association":"COLLABORATOR","body":"That is a whitelisted meta tag (`name` and `content`)."}}
{"actor":{"display_login":"honeybadgerdontcare"}}