{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin/issues/6","repository_url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin","labels_url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin/issues/6/comments","events_url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin/issues/6/events","html_url":"https://github.com/jenkinsci/sse-gateway-plugin/pull/6","id":167066642,"number":6,"title":"[JENKINS-36829] - empty rootURL incorrectly handled","user":{"login":"kzantow","id":3009477,"avatar_url":"https://avatars.githubusercontent.com/u/3009477?v=3","gravatar_id":"","url":"https://api.github.com/users/kzantow","html_url":"https://github.com/kzantow","followers_url":"https://api.github.com/users/kzantow/followers","following_url":"https://api.github.com/users/kzantow/following{/other_user}","gists_url":"https://api.github.com/users/kzantow/gists{/gist_id}","starred_url":"https://api.github.com/users/kzantow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzantow/subscriptions","organizations_url":"https://api.github.com/users/kzantow/orgs","repos_url":"https://api.github.com/users/kzantow/repos","events_url":"https://api.github.com/users/kzantow/events{/privacy}","received_events_url":"https://api.github.com/users/kzantow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-22T15:08:43Z","updated_at":"2016-07-22T15:51:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin/pulls/6","html_url":"https://github.com/jenkinsci/sse-gateway-plugin/pull/6","diff_url":"https://github.com/jenkinsci/sse-gateway-plugin/pull/6.diff","patch_url":"https://github.com/jenkinsci/sse-gateway-plugin/pull/6.patch"},"body":"On `ci.blueocean.io` there were inconsistencies in how URLs were handled, in particular the empty root URL was causing some issues. sse should also allow an empty root url, as Jenkins is typically `'/jenkins'` or `''`, if it's run at the root context (which is normal). This should fix an issue where sse would not work with normal Jenkins for this reason and align handling of these across the app.\r\n\r\nNOTE: tests seem to be getting a URL which *does* end in a slash, unlike running Jenkins normally, so there's a bit to handle that.\r\n\r\nRelated to: https://github.com/jenkinsci/blueocean-plugin/pull/368\r\n\r\n@reviewbybees esp. @tfennelly "},"comment":{"url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin/issues/comments/234581500","html_url":"https://github.com/jenkinsci/sse-gateway-plugin/pull/6#issuecomment-234581500","issue_url":"https://api.github.com/repos/jenkinsci/sse-gateway-plugin/issues/6","id":234581500,"user":{"login":"tfennelly","id":429311,"avatar_url":"https://avatars.githubusercontent.com/u/429311?v=3","gravatar_id":"","url":"https://api.github.com/users/tfennelly","html_url":"https://github.com/tfennelly","followers_url":"https://api.github.com/users/tfennelly/followers","following_url":"https://api.github.com/users/tfennelly/following{/other_user}","gists_url":"https://api.github.com/users/tfennelly/gists{/gist_id}","starred_url":"https://api.github.com/users/tfennelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfennelly/subscriptions","organizations_url":"https://api.github.com/users/tfennelly/orgs","repos_url":"https://api.github.com/users/tfennelly/repos","events_url":"https://api.github.com/users/tfennelly/events{/privacy}","received_events_url":"https://api.github.com/users/tfennelly/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T15:51:48Z","updated_at":"2016-07-22T15:51:48Z","body":"@kzantow nice one, thanks ... did you test this and make sure it works? I see the `package.json` version was up'd to `0.0.7` but it looks like it wasn't published to NPM yet."}}
{"actor":{"display_login":"tfennelly"}}