{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/1321","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/1321/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/1321/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/1321/events","html_url":"https://github.com/hashicorp/consul/pull/1321","id":112278430,"number":1321,"title":"Fix #1316: Safari 403 error on k/v page of web UI","user":{"login":"daveadams","id":70562,"avatar_url":"https://avatars.githubusercontent.com/u/70562?v=3","gravatar_id":"","url":"https://api.github.com/users/daveadams","html_url":"https://github.com/daveadams","followers_url":"https://api.github.com/users/daveadams/followers","following_url":"https://api.github.com/users/daveadams/following{/other_user}","gists_url":"https://api.github.com/users/daveadams/gists{/gist_id}","starred_url":"https://api.github.com/users/daveadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveadams/subscriptions","organizations_url":"https://api.github.com/users/daveadams/orgs","repos_url":"https://api.github.com/users/daveadams/repos","events_url":"https://api.github.com/users/daveadams/events{/privacy}","received_events_url":"https://api.github.com/users/daveadams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T03:24:26Z","updated_at":"2015-10-20T03:29:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/consul/pulls/1321","html_url":"https://github.com/hashicorp/consul/pull/1321","diff_url":"https://github.com/hashicorp/consul/pull/1321.diff","patch_url":"https://github.com/hashicorp/consul/pull/1321.patch"},"body":"For whatever reason, Safari is passing `null` as the value for `token` to the `formatURL` function when displaying the key-value page. When the null value is force-converted to a string, it becomes `\"null\"`, which then fails to pass ACL security tests (unless there actually is an ACL with a token of `\"null\"`).\r\n\r\nThis converts any `null` value `token` to the empty string instead, which will then render correctly.\r\n\r\nShould fix #1316."},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/149417748","html_url":"https://github.com/hashicorp/consul/pull/1321#issuecomment-149417748","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/1321","id":149417748,"user":{"login":"ryanbreen","id":253618,"avatar_url":"https://avatars.githubusercontent.com/u/253618?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanbreen","html_url":"https://github.com/ryanbreen","followers_url":"https://api.github.com/users/ryanbreen/followers","following_url":"https://api.github.com/users/ryanbreen/following{/other_user}","gists_url":"https://api.github.com/users/ryanbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbreen/subscriptions","organizations_url":"https://api.github.com/users/ryanbreen/orgs","repos_url":"https://api.github.com/users/ryanbreen/repos","events_url":"https://api.github.com/users/ryanbreen/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbreen/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T03:29:09Z","updated_at":"2015-10-20T03:29:09Z","body":"Cool, thanks."}}