{"action":"created","issue":{"url":"https://api.github.com/repos/jamesotron/faye-rails/issues/65","labels_url":"https://api.github.com/repos/jamesotron/faye-rails/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/jamesotron/faye-rails/issues/65/comments","events_url":"https://api.github.com/repos/jamesotron/faye-rails/issues/65/events","html_url":"https://github.com/jamesotron/faye-rails/issues/65","id":56374817,"number":65,"title":"null byte in message's channel","user":{"login":"godsent","id":1172808,"avatar_url":"https://avatars.githubusercontent.com/u/1172808?v=3","gravatar_id":"","url":"https://api.github.com/users/godsent","html_url":"https://github.com/godsent","followers_url":"https://api.github.com/users/godsent/followers","following_url":"https://api.github.com/users/godsent/following{/other_user}","gists_url":"https://api.github.com/users/godsent/gists{/gist_id}","starred_url":"https://api.github.com/users/godsent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godsent/subscriptions","organizations_url":"https://api.github.com/users/godsent/orgs","repos_url":"https://api.github.com/users/godsent/repos","events_url":"https://api.github.com/users/godsent/events{/privacy}","received_events_url":"https://api.github.com/users/godsent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T13:04:29Z","updated_at":"2015-02-03T13:13:55Z","closed_at":null,"body":"`FayeRails::RackAdapter::RoutingExtension#incoming` uses `File.fnmatch?` to match channel name. If channel name contains null byte `\"\\0\"` an `ArgumentError` would be raised. The exception will drop a server (checked with Thin and Webric).\r\nfaye-browser.js includes channels names at 928..932 lines, malefactor can add null byte to channel name here via fire bug."},"comment":{"url":"https://api.github.com/repos/jamesotron/faye-rails/issues/comments/72647683","html_url":"https://github.com/jamesotron/faye-rails/issues/65#issuecomment-72647683","issue_url":"https://api.github.com/repos/jamesotron/faye-rails/issues/65","id":72647683,"user":{"login":"godsent","id":1172808,"avatar_url":"https://avatars.githubusercontent.com/u/1172808?v=3","gravatar_id":"","url":"https://api.github.com/users/godsent","html_url":"https://github.com/godsent","followers_url":"https://api.github.com/users/godsent/followers","following_url":"https://api.github.com/users/godsent/following{/other_user}","gists_url":"https://api.github.com/users/godsent/gists{/gist_id}","starred_url":"https://api.github.com/users/godsent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godsent/subscriptions","organizations_url":"https://api.github.com/users/godsent/orgs","repos_url":"https://api.github.com/users/godsent/repos","events_url":"https://api.github.com/users/godsent/events{/privacy}","received_events_url":"https://api.github.com/users/godsent/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T13:13:55Z","updated_at":"2015-02-03T13:13:55Z","body":"Pull request https://github.com/jamesotron/faye-rails/pull/66 created"}}