{"action":"opened","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/2920","labels_url":"https://api.github.com/repos/grafana/grafana/issues/2920/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/2920/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/2920/events","html_url":"https://github.com/grafana/grafana/issues/2920","id":110807809,"number":2920,"title":"Adding trailing / to a KairosDB datasource URL breaks ","user":{"login":"burtonator","id":45447,"avatar_url":"https://avatars.githubusercontent.com/u/45447?v=3","gravatar_id":"","url":"https://api.github.com/users/burtonator","html_url":"https://github.com/burtonator","followers_url":"https://api.github.com/users/burtonator/followers","following_url":"https://api.github.com/users/burtonator/following{/other_user}","gists_url":"https://api.github.com/users/burtonator/gists{/gist_id}","starred_url":"https://api.github.com/users/burtonator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burtonator/subscriptions","organizations_url":"https://api.github.com/users/burtonator/orgs","repos_url":"https://api.github.com/users/burtonator/repos","events_url":"https://api.github.com/users/burtonator/events{/privacy}","received_events_url":"https://api.github.com/users/burtonator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-10T17:49:09Z","updated_at":"2015-10-10T17:49:09Z","closed_at":null,"body":"If you add a URL like:\r\n\r\nhttp://example.com/\r\n\r\nAs your datasource URL for KairosDB it won't work.\r\n\r\nThe datasource URL includes two / characters in a row.\r\n\r\nThis results in a 404.\r\n\r\nThe 404 doesn't include CORS headers so then you get errors about CORS.\r\n\r\nThis confused me and I spent like 20 minutes trying to debug CORS issues.\r\n\r\nMaybe add a lib so that building URLs doesn't ever generate this type of bug?"}}