{"action":"closed","number":44,"pull_request":{"url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/44","id":44351463,"html_url":"https://github.com/jmcgettrick/moodle-mod_turnitintooltwo/pull/44","diff_url":"https://github.com/jmcgettrick/moodle-mod_turnitintooltwo/pull/44.diff","patch_url":"https://github.com/jmcgettrick/moodle-mod_turnitintooltwo/pull/44.patch","issue_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/issues/44","number":44,"state":"closed","locked":false,"title":"Clean filename before creating temporary files","user":{"login":"sk-unikent","id":4242976,"avatar_url":"https://avatars.githubusercontent.com/u/4242976?v=3","gravatar_id":"","url":"https://api.github.com/users/sk-unikent","html_url":"https://github.com/sk-unikent","followers_url":"https://api.github.com/users/sk-unikent/followers","following_url":"https://api.github.com/users/sk-unikent/following{/other_user}","gists_url":"https://api.github.com/users/sk-unikent/gists{/gist_id}","starred_url":"https://api.github.com/users/sk-unikent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk-unikent/subscriptions","organizations_url":"https://api.github.com/users/sk-unikent/orgs","repos_url":"https://api.github.com/users/sk-unikent/repos","events_url":"https://api.github.com/users/sk-unikent/events{/privacy}","received_events_url":"https://api.github.com/users/sk-unikent/received_events","type":"User","site_admin":false},"body":"Try submitting a file, and putting a slash in the \"Submission Title\" box - it will throw an \"invalid dataroot permissions\" error.\r\nThis may also be considered a possible security issue, as ../../../, etc can also be used","created_at":"2015-09-07T12:42:50Z","updated_at":"2015-09-16T14:19:48Z","closed_at":"2015-09-16T14:19:48Z","merged_at":"2015-09-16T14:19:48Z","merge_commit_sha":"e2e7035f9d130d6ef31f69a9088fedc58d8650ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/44/commits","review_comments_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/44/comments","review_comment_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/issues/44/comments","statuses_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/statuses/813fe561e78e9b8915733a2a854988265cc15a85","head":{"label":"sk-unikent:patch-2","ref":"patch-2","sha":"813fe561e78e9b8915733a2a854988265cc15a85","user":{"login":"sk-unikent","id":4242976,"avatar_url":"https://avatars.githubusercontent.com/u/4242976?v=3","gravatar_id":"","url":"https://api.github.com/users/sk-unikent","html_url":"https://github.com/sk-unikent","followers_url":"https://api.github.com/users/sk-unikent/followers","following_url":"https://api.github.com/users/sk-unikent/following{/other_user}","gists_url":"https://api.github.com/users/sk-unikent/gists{/gist_id}","starred_url":"https://api.github.com/users/sk-unikent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk-unikent/subscriptions","organizations_url":"https://api.github.com/users/sk-unikent/orgs","repos_url":"https://api.github.com/users/sk-unikent/repos","events_url":"https://api.github.com/users/sk-unikent/events{/privacy}","received_events_url":"https://api.github.com/users/sk-unikent/received_events","type":"User","site_admin":false},"repo":{"id":38874454,"name":"moodle-mod_turnitintooltwo-1","full_name":"sk-unikent/moodle-mod_turnitintooltwo-1","owner":{"login":"sk-unikent","id":4242976,"avatar_url":"https://avatars.githubusercontent.com/u/4242976?v=3","gravatar_id":"","url":"https://api.github.com/users/sk-unikent","html_url":"https://github.com/sk-unikent","followers_url":"https://api.github.com/users/sk-unikent/followers","following_url":"https://api.github.com/users/sk-unikent/following{/other_user}","gists_url":"https://api.github.com/users/sk-unikent/gists{/gist_id}","starred_url":"https://api.github.com/users/sk-unikent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk-unikent/subscriptions","organizations_url":"https://api.github.com/users/sk-unikent/orgs","repos_url":"https://api.github.com/users/sk-unikent/repos","events_url":"https://api.github.com/users/sk-unikent/events{/privacy}","received_events_url":"https://api.github.com/users/sk-unikent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sk-unikent/moodle-mod_turnitintooltwo-1","description":"Turnitin Moodle Direct version 2 - Please make any pull requests you would like to make to the develop branch. The master branch is the latest available branch that has been through the QA process. The develop branch contains the latest fixes and features but should not be used for production environments.","fork":true,"url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1","forks_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/forks","keys_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/teams","hooks_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/hooks","issue_events_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/issues/events{/number}","events_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/events","assignees_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/assignees{/user}","branches_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/branches{/branch}","tags_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/tags","blobs_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/statuses/{sha}","languages_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/languages","stargazers_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/stargazers","contributors_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/contributors","subscribers_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/subscribers","subscription_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/subscription","commits_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/contents/{+path}","compare_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/merges","archive_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/downloads","issues_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/issues{/number}","pulls_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/pulls{/number}","milestones_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/milestones{/number}","notifications_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/labels{/name}","releases_url":"https://api.github.com/repos/sk-unikent/moodle-mod_turnitintooltwo-1/releases{/id}","created_at":"2015-07-10T10:12:12Z","updated_at":"2015-08-20T21:32:27Z","pushed_at":"2015-09-07T12:39:33Z","git_url":"git://github.com/sk-unikent/moodle-mod_turnitintooltwo-1.git","ssh_url":"git@github.com:sk-unikent/moodle-mod_turnitintooltwo-1.git","clone_url":"https://github.com/sk-unikent/moodle-mod_turnitintooltwo-1.git","svn_url":"https://github.com/sk-unikent/moodle-mod_turnitintooltwo-1","homepage":"","size":4779,"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":"jmcgettrick:develop","ref":"develop","sha":"d39527a85b40605ef321addae93ea1f835be2f3a","user":{"login":"jmcgettrick","id":5583704,"avatar_url":"https://avatars.githubusercontent.com/u/5583704?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcgettrick","html_url":"https://github.com/jmcgettrick","followers_url":"https://api.github.com/users/jmcgettrick/followers","following_url":"https://api.github.com/users/jmcgettrick/following{/other_user}","gists_url":"https://api.github.com/users/jmcgettrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcgettrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcgettrick/subscriptions","organizations_url":"https://api.github.com/users/jmcgettrick/orgs","repos_url":"https://api.github.com/users/jmcgettrick/repos","events_url":"https://api.github.com/users/jmcgettrick/events{/privacy}","received_events_url":"https://api.github.com/users/jmcgettrick/received_events","type":"User","site_admin":false},"repo":{"id":30418781,"name":"moodle-mod_turnitintooltwo","full_name":"jmcgettrick/moodle-mod_turnitintooltwo","owner":{"login":"jmcgettrick","id":5583704,"avatar_url":"https://avatars.githubusercontent.com/u/5583704?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcgettrick","html_url":"https://github.com/jmcgettrick","followers_url":"https://api.github.com/users/jmcgettrick/followers","following_url":"https://api.github.com/users/jmcgettrick/following{/other_user}","gists_url":"https://api.github.com/users/jmcgettrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcgettrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcgettrick/subscriptions","organizations_url":"https://api.github.com/users/jmcgettrick/orgs","repos_url":"https://api.github.com/users/jmcgettrick/repos","events_url":"https://api.github.com/users/jmcgettrick/events{/privacy}","received_events_url":"https://api.github.com/users/jmcgettrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmcgettrick/moodle-mod_turnitintooltwo","description":"Turnitin Moodle Direct version 2 - Please make any pull requests you would like to make to the develop branch. The master branch is the latest available branch that has been through the QA process. The develop branch contains the latest fixes and features but should not be used for production environments.","fork":false,"url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo","forks_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/forks","keys_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/teams","hooks_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/hooks","issue_events_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/issues/events{/number}","events_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/events","assignees_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/assignees{/user}","branches_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/branches{/branch}","tags_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/tags","blobs_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/statuses/{sha}","languages_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/languages","stargazers_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/stargazers","contributors_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/contributors","subscribers_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/subscribers","subscription_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/subscription","commits_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/contents/{+path}","compare_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/merges","archive_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/downloads","issues_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/issues{/number}","pulls_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls{/number}","milestones_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/milestones{/number}","notifications_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/labels{/name}","releases_url":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/releases{/id}","created_at":"2015-02-06T15:30:35Z","updated_at":"2015-09-16T14:11:55Z","pushed_at":"2015-09-16T14:19:48Z","git_url":"git://github.com/jmcgettrick/moodle-mod_turnitintooltwo.git","ssh_url":"git@github.com:jmcgettrick/moodle-mod_turnitintooltwo.git","clone_url":"https://github.com/jmcgettrick/moodle-mod_turnitintooltwo.git","svn_url":"https://github.com/jmcgettrick/moodle-mod_turnitintooltwo","homepage":"","size":5140,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/44"},"html":{"href":"https://github.com/jmcgettrick/moodle-mod_turnitintooltwo/pull/44"},"issue":{"href":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/issues/44"},"comments":{"href":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/jmcgettrick/moodle-mod_turnitintooltwo/statuses/813fe561e78e9b8915733a2a854988265cc15a85"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jmcgettrick","id":5583704,"avatar_url":"https://avatars.githubusercontent.com/u/5583704?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcgettrick","html_url":"https://github.com/jmcgettrick","followers_url":"https://api.github.com/users/jmcgettrick/followers","following_url":"https://api.github.com/users/jmcgettrick/following{/other_user}","gists_url":"https://api.github.com/users/jmcgettrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcgettrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcgettrick/subscriptions","organizations_url":"https://api.github.com/users/jmcgettrick/orgs","repos_url":"https://api.github.com/users/jmcgettrick/repos","events_url":"https://api.github.com/users/jmcgettrick/events{/privacy}","received_events_url":"https://api.github.com/users/jmcgettrick/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}