{"action":"opened","number":326,"pull_request":{"url":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/326","id":96400198,"html_url":"https://github.com/anomalylabs/streams-platform/pull/326","diff_url":"https://github.com/anomalylabs/streams-platform/pull/326.diff","patch_url":"https://github.com/anomalylabs/streams-platform/pull/326.patch","issue_url":"https://api.github.com/repos/anomalylabs/streams-platform/issues/326","number":326,"state":"open","locked":false,"title":"Added missing exception handling in Kernel.php","user":{"login":"Newman101","id":4118513,"avatar_url":"https://avatars.githubusercontent.com/u/4118513?v=3","gravatar_id":"","url":"https://api.github.com/users/Newman101","html_url":"https://github.com/Newman101","followers_url":"https://api.github.com/users/Newman101/followers","following_url":"https://api.github.com/users/Newman101/following{/other_user}","gists_url":"https://api.github.com/users/Newman101/gists{/gist_id}","starred_url":"https://api.github.com/users/Newman101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Newman101/subscriptions","organizations_url":"https://api.github.com/users/Newman101/orgs","repos_url":"https://api.github.com/users/Newman101/repos","events_url":"https://api.github.com/users/Newman101/events{/privacy}","received_events_url":"https://api.github.com/users/Newman101/received_events","type":"User","site_admin":false},"body":"Hi.\r\n\r\nLooks like there was a bit risky use of ```parse_url``` function in src/Http/Kernel.php. \r\n\r\nBasically: parse_url can return boolean false if the URL is malformed. Should this happen, the hackers will be able to pass seriously malformed URLs to perform hostile XSS injections. \r\n\r\nI created an if-clause for malformed URLs. Basically, if variable ```$url``` gets malformed URL which makes the parse_url to return false, the Kernel.php throws an exception. \r\n\r\nThank you.","created_at":"2016-12-03T15:08:16Z","updated_at":"2016-12-03T15:08:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/326/commits","review_comments_url":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/326/comments","review_comment_url":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anomalylabs/streams-platform/issues/326/comments","statuses_url":"https://api.github.com/repos/anomalylabs/streams-platform/statuses/3973a8a2cafc25ac0decbeaa39cbe22b13cc4c3a","head":{"label":"Newman101:http_kernel_exception","ref":"http_kernel_exception","sha":"3973a8a2cafc25ac0decbeaa39cbe22b13cc4c3a","user":{"login":"Newman101","id":4118513,"avatar_url":"https://avatars.githubusercontent.com/u/4118513?v=3","gravatar_id":"","url":"https://api.github.com/users/Newman101","html_url":"https://github.com/Newman101","followers_url":"https://api.github.com/users/Newman101/followers","following_url":"https://api.github.com/users/Newman101/following{/other_user}","gists_url":"https://api.github.com/users/Newman101/gists{/gist_id}","starred_url":"https://api.github.com/users/Newman101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Newman101/subscriptions","organizations_url":"https://api.github.com/users/Newman101/orgs","repos_url":"https://api.github.com/users/Newman101/repos","events_url":"https://api.github.com/users/Newman101/events{/privacy}","received_events_url":"https://api.github.com/users/Newman101/received_events","type":"User","site_admin":false},"repo":{"id":72542937,"name":"streams-platform","full_name":"Newman101/streams-platform","owner":{"login":"Newman101","id":4118513,"avatar_url":"https://avatars.githubusercontent.com/u/4118513?v=3","gravatar_id":"","url":"https://api.github.com/users/Newman101","html_url":"https://github.com/Newman101","followers_url":"https://api.github.com/users/Newman101/followers","following_url":"https://api.github.com/users/Newman101/following{/other_user}","gists_url":"https://api.github.com/users/Newman101/gists{/gist_id}","starred_url":"https://api.github.com/users/Newman101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Newman101/subscriptions","organizations_url":"https://api.github.com/users/Newman101/orgs","repos_url":"https://api.github.com/users/Newman101/repos","events_url":"https://api.github.com/users/Newman101/events{/privacy}","received_events_url":"https://api.github.com/users/Newman101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Newman101/streams-platform","description":"Streams is an abstracted modular platform for developing web applications.","fork":true,"url":"https://api.github.com/repos/Newman101/streams-platform","forks_url":"https://api.github.com/repos/Newman101/streams-platform/forks","keys_url":"https://api.github.com/repos/Newman101/streams-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Newman101/streams-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Newman101/streams-platform/teams","hooks_url":"https://api.github.com/repos/Newman101/streams-platform/hooks","issue_events_url":"https://api.github.com/repos/Newman101/streams-platform/issues/events{/number}","events_url":"https://api.github.com/repos/Newman101/streams-platform/events","assignees_url":"https://api.github.com/repos/Newman101/streams-platform/assignees{/user}","branches_url":"https://api.github.com/repos/Newman101/streams-platform/branches{/branch}","tags_url":"https://api.github.com/repos/Newman101/streams-platform/tags","blobs_url":"https://api.github.com/repos/Newman101/streams-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Newman101/streams-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Newman101/streams-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/Newman101/streams-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Newman101/streams-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/Newman101/streams-platform/languages","stargazers_url":"https://api.github.com/repos/Newman101/streams-platform/stargazers","contributors_url":"https://api.github.com/repos/Newman101/streams-platform/contributors","subscribers_url":"https://api.github.com/repos/Newman101/streams-platform/subscribers","subscription_url":"https://api.github.com/repos/Newman101/streams-platform/subscription","commits_url":"https://api.github.com/repos/Newman101/streams-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/Newman101/streams-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/Newman101/streams-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/Newman101/streams-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/Newman101/streams-platform/contents/{+path}","compare_url":"https://api.github.com/repos/Newman101/streams-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Newman101/streams-platform/merges","archive_url":"https://api.github.com/repos/Newman101/streams-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Newman101/streams-platform/downloads","issues_url":"https://api.github.com/repos/Newman101/streams-platform/issues{/number}","pulls_url":"https://api.github.com/repos/Newman101/streams-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/Newman101/streams-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/Newman101/streams-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Newman101/streams-platform/labels{/name}","releases_url":"https://api.github.com/repos/Newman101/streams-platform/releases{/id}","deployments_url":"https://api.github.com/repos/Newman101/streams-platform/deployments","created_at":"2016-11-01T14:16:41Z","updated_at":"2016-11-01T14:16:44Z","pushed_at":"2016-12-03T15:00:38Z","git_url":"git://github.com/Newman101/streams-platform.git","ssh_url":"git@github.com:Newman101/streams-platform.git","clone_url":"https://github.com/Newman101/streams-platform.git","svn_url":"https://github.com/Newman101/streams-platform","homepage":"http://pyrocms.com/","size":10680,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"anomalylabs:master","ref":"master","sha":"90ab2d0a1c3ef67d4f75777d3d1d4e0347fdf399","user":{"login":"anomalylabs","id":7509630,"avatar_url":"https://avatars.githubusercontent.com/u/7509630?v=3","gravatar_id":"","url":"https://api.github.com/users/anomalylabs","html_url":"https://github.com/anomalylabs","followers_url":"https://api.github.com/users/anomalylabs/followers","following_url":"https://api.github.com/users/anomalylabs/following{/other_user}","gists_url":"https://api.github.com/users/anomalylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/anomalylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anomalylabs/subscriptions","organizations_url":"https://api.github.com/users/anomalylabs/orgs","repos_url":"https://api.github.com/users/anomalylabs/repos","events_url":"https://api.github.com/users/anomalylabs/events{/privacy}","received_events_url":"https://api.github.com/users/anomalylabs/received_events","type":"Organization","site_admin":false},"repo":{"id":23230079,"name":"streams-platform","full_name":"anomalylabs/streams-platform","owner":{"login":"anomalylabs","id":7509630,"avatar_url":"https://avatars.githubusercontent.com/u/7509630?v=3","gravatar_id":"","url":"https://api.github.com/users/anomalylabs","html_url":"https://github.com/anomalylabs","followers_url":"https://api.github.com/users/anomalylabs/followers","following_url":"https://api.github.com/users/anomalylabs/following{/other_user}","gists_url":"https://api.github.com/users/anomalylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/anomalylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anomalylabs/subscriptions","organizations_url":"https://api.github.com/users/anomalylabs/orgs","repos_url":"https://api.github.com/users/anomalylabs/repos","events_url":"https://api.github.com/users/anomalylabs/events{/privacy}","received_events_url":"https://api.github.com/users/anomalylabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anomalylabs/streams-platform","description":"Streams is an abstracted modular platform for developing web applications.","fork":false,"url":"https://api.github.com/repos/anomalylabs/streams-platform","forks_url":"https://api.github.com/repos/anomalylabs/streams-platform/forks","keys_url":"https://api.github.com/repos/anomalylabs/streams-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anomalylabs/streams-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anomalylabs/streams-platform/teams","hooks_url":"https://api.github.com/repos/anomalylabs/streams-platform/hooks","issue_events_url":"https://api.github.com/repos/anomalylabs/streams-platform/issues/events{/number}","events_url":"https://api.github.com/repos/anomalylabs/streams-platform/events","assignees_url":"https://api.github.com/repos/anomalylabs/streams-platform/assignees{/user}","branches_url":"https://api.github.com/repos/anomalylabs/streams-platform/branches{/branch}","tags_url":"https://api.github.com/repos/anomalylabs/streams-platform/tags","blobs_url":"https://api.github.com/repos/anomalylabs/streams-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anomalylabs/streams-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anomalylabs/streams-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/anomalylabs/streams-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anomalylabs/streams-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/anomalylabs/streams-platform/languages","stargazers_url":"https://api.github.com/repos/anomalylabs/streams-platform/stargazers","contributors_url":"https://api.github.com/repos/anomalylabs/streams-platform/contributors","subscribers_url":"https://api.github.com/repos/anomalylabs/streams-platform/subscribers","subscription_url":"https://api.github.com/repos/anomalylabs/streams-platform/subscription","commits_url":"https://api.github.com/repos/anomalylabs/streams-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/anomalylabs/streams-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/anomalylabs/streams-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/anomalylabs/streams-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/anomalylabs/streams-platform/contents/{+path}","compare_url":"https://api.github.com/repos/anomalylabs/streams-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anomalylabs/streams-platform/merges","archive_url":"https://api.github.com/repos/anomalylabs/streams-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anomalylabs/streams-platform/downloads","issues_url":"https://api.github.com/repos/anomalylabs/streams-platform/issues{/number}","pulls_url":"https://api.github.com/repos/anomalylabs/streams-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/anomalylabs/streams-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/anomalylabs/streams-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anomalylabs/streams-platform/labels{/name}","releases_url":"https://api.github.com/repos/anomalylabs/streams-platform/releases{/id}","deployments_url":"https://api.github.com/repos/anomalylabs/streams-platform/deployments","created_at":"2014-08-22T15:27:53Z","updated_at":"2016-11-16T02:45:45Z","pushed_at":"2016-12-03T02:29:07Z","git_url":"git://github.com/anomalylabs/streams-platform.git","ssh_url":"git@github.com:anomalylabs/streams-platform.git","clone_url":"https://github.com/anomalylabs/streams-platform.git","svn_url":"https://github.com/anomalylabs/streams-platform","homepage":"http://pyrocms.com/","size":10901,"stargazers_count":56,"watchers_count":56,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":3,"forks":47,"open_issues":3,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/326"},"html":{"href":"https://github.com/anomalylabs/streams-platform/pull/326"},"issue":{"href":"https://api.github.com/repos/anomalylabs/streams-platform/issues/326"},"comments":{"href":"https://api.github.com/repos/anomalylabs/streams-platform/issues/326/comments"},"review_comments":{"href":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/326/comments"},"review_comment":{"href":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anomalylabs/streams-platform/pulls/326/commits"},"statuses":{"href":"https://api.github.com/repos/anomalylabs/streams-platform/statuses/3973a8a2cafc25ac0decbeaa39cbe22b13cc4c3a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Newman101"}}