{"action":"created","issue":{"url":"https://api.github.com/repos/Snorby/snorby/issues/318","labels_url":"https://api.github.com/repos/Snorby/snorby/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/Snorby/snorby/issues/318/comments","events_url":"https://api.github.com/repos/Snorby/snorby/issues/318/events","html_url":"https://github.com/Snorby/snorby/issues/318","id":20092847,"number":318,"title":"2.6.2: lib/snorby/payload.rb: invalid multibyte escapes","user":{"login":"marksolaris","id":4743717,"avatar_url":"https://avatars.githubusercontent.com/u/4743717?v=3","gravatar_id":"","url":"https://api.github.com/users/marksolaris","html_url":"https://github.com/marksolaris","followers_url":"https://api.github.com/users/marksolaris/followers","following_url":"https://api.github.com/users/marksolaris/following{/other_user}","gists_url":"https://api.github.com/users/marksolaris/gists{/gist_id}","starred_url":"https://api.github.com/users/marksolaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marksolaris/subscriptions","organizations_url":"https://api.github.com/users/marksolaris/orgs","repos_url":"https://api.github.com/users/marksolaris/repos","events_url":"https://api.github.com/users/marksolaris/events{/privacy}","received_events_url":"https://api.github.com/users/marksolaris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-09-26T06:51:22Z","updated_at":"2015-06-03T14:25:11Z","closed_at":null,"body":"When running the\r\n\r\n    rake --verbose --trace --rules snorby:setup\r\n\r\ncommand, these errors came up:\r\n\r\n    lib/snorby/payload.rb:60: invalid multibyte escape: /[\\000-\\040\\177-\\377]/\r\n    lib/snorby/payload.rb:57: invalid multibyte escape: /[\\040\\177-\\377]/\r\n\r\nI've commented and replaced the lines with those below\r\n\r\n    55            if @new_lines\r\n    56              string.gsub!(/[\\x0a]/, \".\")\r\n    57              string.gsub!(Regexp.new(\"[\\040\\177-\\377]\"), '.')\r\n    58              # old:  string.gsub!(/[\\040\\177-\\377]/, '.')\r\n    59            else\r\n    60              string.gsub!(Regexp.new(\"[\\000-\\040\\177-\\377]\"), \".\")\r\n    61              # old: string.gsub!(/[\\000-\\040\\177-\\377]/, \".\")\r\n    62            end\r\n"},"comment":{"url":"https://api.github.com/repos/Snorby/snorby/issues/comments/108452156","html_url":"https://github.com/Snorby/snorby/issues/318#issuecomment-108452156","issue_url":"https://api.github.com/repos/Snorby/snorby/issues/318","id":108452156,"user":{"login":"gehrhorn","id":286615,"avatar_url":"https://avatars.githubusercontent.com/u/286615?v=3","gravatar_id":"","url":"https://api.github.com/users/gehrhorn","html_url":"https://github.com/gehrhorn","followers_url":"https://api.github.com/users/gehrhorn/followers","following_url":"https://api.github.com/users/gehrhorn/following{/other_user}","gists_url":"https://api.github.com/users/gehrhorn/gists{/gist_id}","starred_url":"https://api.github.com/users/gehrhorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gehrhorn/subscriptions","organizations_url":"https://api.github.com/users/gehrhorn/orgs","repos_url":"https://api.github.com/users/gehrhorn/repos","events_url":"https://api.github.com/users/gehrhorn/events{/privacy}","received_events_url":"https://api.github.com/users/gehrhorn/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T14:25:11Z","updated_at":"2015-06-03T14:25:11Z","body":"@marksolaris can you make this into a pull request? Have you already?"}}