{"action":"created","issue":{"url":"https://api.github.com/repos/drone/drone/issues/1853","repository_url":"https://api.github.com/repos/drone/drone","labels_url":"https://api.github.com/repos/drone/drone/issues/1853/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/1853/comments","events_url":"https://api.github.com/repos/drone/drone/issues/1853/events","html_url":"https://github.com/drone/drone/pull/1853","id":188929367,"number":1853,"title":"fixes trailing slash on DRONE_SERVER env variable","user":{"login":"gillesdemey","id":868844,"avatar_url":"https://avatars.githubusercontent.com/u/868844?v=3","gravatar_id":"","url":"https://api.github.com/users/gillesdemey","html_url":"https://github.com/gillesdemey","followers_url":"https://api.github.com/users/gillesdemey/followers","following_url":"https://api.github.com/users/gillesdemey/following{/other_user}","gists_url":"https://api.github.com/users/gillesdemey/gists{/gist_id}","starred_url":"https://api.github.com/users/gillesdemey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillesdemey/subscriptions","organizations_url":"https://api.github.com/users/gillesdemey/orgs","repos_url":"https://api.github.com/users/gillesdemey/repos","events_url":"https://api.github.com/users/gillesdemey/events{/privacy}","received_events_url":"https://api.github.com/users/gillesdemey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-12T19:23:25Z","updated_at":"2016-11-12T19:23:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/drone/drone/pulls/1853","html_url":"https://github.com/drone/drone/pull/1853","diff_url":"https://github.com/drone/drone/pull/1853.diff","patch_url":"https://github.com/drone/drone/pull/1853.patch"},"body":"Got stuck on this longer than I dare to admit.\r\n\r\nFixes accidental trailing slash in the `DRONE_SERVER` environment variable from throwing exceptions in the CLI.\r\n\r\nIf the trailing slash is present, it tries to parse the HTML of a 404 page resulting in a cryptic exception:\r\n\r\n`invalid character '<' looking for beginning of value`\r\n\r\nRelated to https://github.com/drone/drone/pull/1756"},"comment":{"url":"https://api.github.com/repos/drone/drone/issues/comments/260142573","html_url":"https://github.com/drone/drone/pull/1853#issuecomment-260142573","issue_url":"https://api.github.com/repos/drone/drone/issues/1853","id":260142573,"user":{"login":"CLAassistant","id":11571300,"avatar_url":"https://avatars.githubusercontent.com/u/11571300?v=3","gravatar_id":"","url":"https://api.github.com/users/CLAassistant","html_url":"https://github.com/CLAassistant","followers_url":"https://api.github.com/users/CLAassistant/followers","following_url":"https://api.github.com/users/CLAassistant/following{/other_user}","gists_url":"https://api.github.com/users/CLAassistant/gists{/gist_id}","starred_url":"https://api.github.com/users/CLAassistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CLAassistant/subscriptions","organizations_url":"https://api.github.com/users/CLAassistant/orgs","repos_url":"https://api.github.com/users/CLAassistant/repos","events_url":"https://api.github.com/users/CLAassistant/events{/privacy}","received_events_url":"https://api.github.com/users/CLAassistant/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T19:23:25Z","updated_at":"2016-11-12T19:23:25Z","body":"[![CLA assistant check](https://cla-assistant.io/pull/badge/not_signed)](https://cla-assistant.io/drone/drone?pullRequest=1853) <br/>Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our [Contributor License Agreement](https://cla-assistant.io/drone/drone?pullRequest=1853) before we can accept your contribution.<br/>"}}
{"actor":{"display_login":"CLAassistant"}}