{"action":"created","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2213","repository_url":"https://api.github.com/repos/Graylog2/graylog2-server","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2213/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2213/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2213/events","html_url":"https://github.com/Graylog2/graylog2-server/pull/2213","id":154064056,"number":2213,"title":"Normalize URIs","user":{"login":"edmundoa","id":716185,"avatar_url":"https://avatars.githubusercontent.com/u/716185?v=3","gravatar_id":"","url":"https://api.github.com/users/edmundoa","html_url":"https://github.com/edmundoa","followers_url":"https://api.github.com/users/edmundoa/followers","following_url":"https://api.github.com/users/edmundoa/following{/other_user}","gists_url":"https://api.github.com/users/edmundoa/gists{/gist_id}","starred_url":"https://api.github.com/users/edmundoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmundoa/subscriptions","organizations_url":"https://api.github.com/users/edmundoa/orgs","repos_url":"https://api.github.com/users/edmundoa/repos","events_url":"https://api.github.com/users/edmundoa/events{/privacy}","received_events_url":"https://api.github.com/users/edmundoa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/ready-for-review","name":"ready-for-review","color":"e11d21"},{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/web","name":"web","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/52","html_url":"https://github.com/Graylog2/graylog2-server/milestones/2.0.1","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/52/labels","id":1731898,"number":52,"title":"2.0.1","description":"","creator":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":19,"state":"open","created_at":"2016-04-26T13:46:11Z","updated_at":"2016-05-10T17:35:46Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-10T17:35:46Z","updated_at":"2016-05-11T07:03:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/pulls/2213","html_url":"https://github.com/Graylog2/graylog2-server/pull/2213","diff_url":"https://github.com/Graylog2/graylog2-server/pull/2213.diff","patch_url":"https://github.com/Graylog2/graylog2-server/pull/2213.patch"},"body":"In some situations, the `gl2ServerUrl` configuration option may end in a slash. As we can't predict when that will happen, this commit is normalizing the path of generated URIs, avoiding URIs with duplicated slashes in their path (you can see an example in #2200).\r\n\r\nI was able to reproduce the double slash issue in URIs by setting `rest_listen_uri` and `rest_transport_uri` to `http://127.0.0.1:12900/`. The most visible place to see them is the export CSV URL. Other URIs are also affected, but they are normalized by one of the network libraries we use."},"comment":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/comments/218378590","html_url":"https://github.com/Graylog2/graylog2-server/pull/2213#issuecomment-218378590","issue_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2213","id":218378590,"user":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T07:03:07Z","updated_at":"2016-05-11T07:03:07Z","body":"LGTM. :+1:"}}