{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/1316","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/1316/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/1316/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/1316/events","html_url":"https://github.com/hashicorp/consul/issues/1316","id":111913233,"number":1316,"title":"safari UI bug when acl_datacenter set","user":{"login":"ryane","id":7346,"avatar_url":"https://avatars.githubusercontent.com/u/7346?v=3","gravatar_id":"","url":"https://api.github.com/users/ryane","html_url":"https://github.com/ryane","followers_url":"https://api.github.com/users/ryane/followers","following_url":"https://api.github.com/users/ryane/following{/other_user}","gists_url":"https://api.github.com/users/ryane/gists{/gist_id}","starred_url":"https://api.github.com/users/ryane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryane/subscriptions","organizations_url":"https://api.github.com/users/ryane/orgs","repos_url":"https://api.github.com/users/ryane/repos","events_url":"https://api.github.com/users/ryane/events{/privacy}","received_events_url":"https://api.github.com/users/ryane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T21:19:51Z","updated_at":"2015-10-16T21:19:51Z","closed_at":null,"body":"Using the web UI in Safari (tested on 9.0), it is not possible to navigate to the `Key/Value` page when you are running the server with an `acl_datacenter` set.  Instead you will get a 403 error. \r\n\r\n<img width=\"923\" alt=\"screenshot 2015-10-16 17 09 32\" src=\"https://cloud.githubusercontent.com/assets/7346/10553435/b58d827a-7428-11e5-9155-e2787dae35c4.png\">\r\n\r\nThis does not occur in Chrome or Firefox. In Safari, the api request looks like:\r\n\r\n```\r\nhttp://localhost:8500/v1/kv/?keys&seperator=/&dc=mydc&token=null\r\n```\r\n\r\nIn other browsers, the `token` is not set:\r\n\r\n```\r\nhttp://localhost:8500/v1/kv/?keys&seperator=/&dc=mydc&token=\r\n```\r\n\r\nTo replicate, you can use a `consul.json` like:\r\n\r\n```json\r\n{\r\n  \"datacenter\": \"mydc\",\r\n  \"acl_datacenter\": \"mydc\",\r\n  \"data_dir\": \"/tmp/consul\",\r\n  \"ui_dir\": \"/tmp/dist/\"\r\n}\r\n```\r\n\r\nThen start the server with:\r\n\r\n```\r\nconsul agent -server -bootstrap-expect 1 -config-file consul.json\r\n```\r\n\r\nYou should be able to navigate to the K/V section in Chrome and Firefox but you will get a 403 in Safari. \r\n\r\n```\r\nconsul --version\r\nConsul v0.5.2\r\nConsul Protocol: 2 (Understands back to: 1)\r\n```\r\n"}}