{"action":"created","comment":{"url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/comments/43330022","id":43330022,"diff_hunk":"@@ -0,0 +1,37 @@\n+// Package naughtystrings is a collection of strings that have a high probability of causing issues when used as user input.\n+package naughtystrings\n+\n+import (\n+\t\"encoding/json\"\n+\t\"os\"\n+\t\"path\"\n+\t\"runtime\"\n+)\n+\n+// Base64Encoded returns the strings encoded in base 64.\n+func Base64Encoded() []string {\n+\treturn strings(\"blns.base64.json\")\n+}\n+\n+// Unencoded returns the strings.\n+func Unencoded() []string {\n+\treturn strings(\"blns.json\")\n+}\n+\n+func strings(file string) []string {","path":"naughtystrings/naughtystrings.go","position":21,"original_position":21,"commit_id":"49cb0f7535442d1de6ca355d958eb587a8e52bf5","original_commit_id":"49cb0f7535442d1de6ca355d958eb587a8e52bf5","user":{"login":"willfaught","id":63830,"avatar_url":"https://avatars.githubusercontent.com/u/63830?v=3","gravatar_id":"","url":"https://api.github.com/users/willfaught","html_url":"https://github.com/willfaught","followers_url":"https://api.github.com/users/willfaught/followers","following_url":"https://api.github.com/users/willfaught/following{/other_user}","gists_url":"https://api.github.com/users/willfaught/gists{/gist_id}","starred_url":"https://api.github.com/users/willfaught/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willfaught/subscriptions","organizations_url":"https://api.github.com/users/willfaught/orgs","repos_url":"https://api.github.com/users/willfaught/repos","events_url":"https://api.github.com/users/willfaught/events{/privacy}","received_events_url":"https://api.github.com/users/willfaught/received_events","type":"User","site_admin":false},"body":"Will change to `load`.","created_at":"2015-10-28T22:58:55Z","updated_at":"2015-10-28T22:58:55Z","html_url":"https://github.com/minimaxir/big-list-of-naughty-strings/pull/81#discussion_r43330022","pull_request_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/comments/43330022"},"html":{"href":"https://github.com/minimaxir/big-list-of-naughty-strings/pull/81#discussion_r43330022"},"pull_request":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81","id":48797724,"html_url":"https://github.com/minimaxir/big-list-of-naughty-strings/pull/81","diff_url":"https://github.com/minimaxir/big-list-of-naughty-strings/pull/81.diff","patch_url":"https://github.com/minimaxir/big-list-of-naughty-strings/pull/81.patch","issue_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/issues/81","number":81,"state":"open","locked":false,"title":"Add Go compatibility","user":{"login":"willfaught","id":63830,"avatar_url":"https://avatars.githubusercontent.com/u/63830?v=3","gravatar_id":"","url":"https://api.github.com/users/willfaught","html_url":"https://github.com/willfaught","followers_url":"https://api.github.com/users/willfaught/followers","following_url":"https://api.github.com/users/willfaught/following{/other_user}","gists_url":"https://api.github.com/users/willfaught/gists{/gist_id}","starred_url":"https://api.github.com/users/willfaught/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willfaught/subscriptions","organizations_url":"https://api.github.com/users/willfaught/orgs","repos_url":"https://api.github.com/users/willfaught/repos","events_url":"https://api.github.com/users/willfaught/events{/privacy}","received_events_url":"https://api.github.com/users/willfaught/received_events","type":"User","site_admin":false},"body":"The naughtystrings directory is now a Go package and can be imported by Go.","created_at":"2015-10-26T21:10:28Z","updated_at":"2015-10-28T22:58:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d6ca96d7fccf511be79b90cbe7d28ebd80acdf1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81/commits","review_comments_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81/comments","review_comment_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/issues/81/comments","statuses_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/statuses/49cb0f7535442d1de6ca355d958eb587a8e52bf5","head":{"label":"willfaught:master","ref":"master","sha":"49cb0f7535442d1de6ca355d958eb587a8e52bf5","user":{"login":"willfaught","id":63830,"avatar_url":"https://avatars.githubusercontent.com/u/63830?v=3","gravatar_id":"","url":"https://api.github.com/users/willfaught","html_url":"https://github.com/willfaught","followers_url":"https://api.github.com/users/willfaught/followers","following_url":"https://api.github.com/users/willfaught/following{/other_user}","gists_url":"https://api.github.com/users/willfaught/gists{/gist_id}","starred_url":"https://api.github.com/users/willfaught/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willfaught/subscriptions","organizations_url":"https://api.github.com/users/willfaught/orgs","repos_url":"https://api.github.com/users/willfaught/repos","events_url":"https://api.github.com/users/willfaught/events{/privacy}","received_events_url":"https://api.github.com/users/willfaught/received_events","type":"User","site_admin":false},"repo":{"id":44566389,"name":"big-list-of-naughty-strings","full_name":"willfaught/big-list-of-naughty-strings","owner":{"login":"willfaught","id":63830,"avatar_url":"https://avatars.githubusercontent.com/u/63830?v=3","gravatar_id":"","url":"https://api.github.com/users/willfaught","html_url":"https://github.com/willfaught","followers_url":"https://api.github.com/users/willfaught/followers","following_url":"https://api.github.com/users/willfaught/following{/other_user}","gists_url":"https://api.github.com/users/willfaught/gists{/gist_id}","starred_url":"https://api.github.com/users/willfaught/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willfaught/subscriptions","organizations_url":"https://api.github.com/users/willfaught/orgs","repos_url":"https://api.github.com/users/willfaught/repos","events_url":"https://api.github.com/users/willfaught/events{/privacy}","received_events_url":"https://api.github.com/users/willfaught/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/willfaught/big-list-of-naughty-strings","description":"The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.","fork":true,"url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings","forks_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/forks","keys_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/teams","hooks_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/hooks","issue_events_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/issues/events{/number}","events_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/events","assignees_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/assignees{/user}","branches_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/branches{/branch}","tags_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/tags","blobs_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/git/refs{/sha}","trees_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/statuses/{sha}","languages_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/languages","stargazers_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/stargazers","contributors_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/contributors","subscribers_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/subscribers","subscription_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/subscription","commits_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/commits{/sha}","git_commits_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/git/commits{/sha}","comments_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/comments{/number}","issue_comment_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/issues/comments{/number}","contents_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/contents/{+path}","compare_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/merges","archive_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/downloads","issues_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/issues{/number}","pulls_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/pulls{/number}","milestones_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/milestones{/number}","notifications_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/labels{/name}","releases_url":"https://api.github.com/repos/willfaught/big-list-of-naughty-strings/releases{/id}","created_at":"2015-10-19T21:54:47Z","updated_at":"2015-10-19T21:54:48Z","pushed_at":"2015-10-26T21:09:05Z","git_url":"git://github.com/willfaught/big-list-of-naughty-strings.git","ssh_url":"git@github.com:willfaught/big-list-of-naughty-strings.git","clone_url":"https://github.com/willfaught/big-list-of-naughty-strings.git","svn_url":"https://github.com/willfaught/big-list-of-naughty-strings","homepage":null,"size":802,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"minimaxir:master","ref":"master","sha":"84a5dea833b5e2218f7c8c2104effca3f8f155aa","user":{"login":"minimaxir","id":2179708,"avatar_url":"https://avatars.githubusercontent.com/u/2179708?v=3","gravatar_id":"","url":"https://api.github.com/users/minimaxir","html_url":"https://github.com/minimaxir","followers_url":"https://api.github.com/users/minimaxir/followers","following_url":"https://api.github.com/users/minimaxir/following{/other_user}","gists_url":"https://api.github.com/users/minimaxir/gists{/gist_id}","starred_url":"https://api.github.com/users/minimaxir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minimaxir/subscriptions","organizations_url":"https://api.github.com/users/minimaxir/orgs","repos_url":"https://api.github.com/users/minimaxir/repos","events_url":"https://api.github.com/users/minimaxir/events{/privacy}","received_events_url":"https://api.github.com/users/minimaxir/received_events","type":"User","site_admin":false},"repo":{"id":40416236,"name":"big-list-of-naughty-strings","full_name":"minimaxir/big-list-of-naughty-strings","owner":{"login":"minimaxir","id":2179708,"avatar_url":"https://avatars.githubusercontent.com/u/2179708?v=3","gravatar_id":"","url":"https://api.github.com/users/minimaxir","html_url":"https://github.com/minimaxir","followers_url":"https://api.github.com/users/minimaxir/followers","following_url":"https://api.github.com/users/minimaxir/following{/other_user}","gists_url":"https://api.github.com/users/minimaxir/gists{/gist_id}","starred_url":"https://api.github.com/users/minimaxir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minimaxir/subscriptions","organizations_url":"https://api.github.com/users/minimaxir/orgs","repos_url":"https://api.github.com/users/minimaxir/repos","events_url":"https://api.github.com/users/minimaxir/events{/privacy}","received_events_url":"https://api.github.com/users/minimaxir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minimaxir/big-list-of-naughty-strings","description":"The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.","fork":false,"url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings","forks_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/forks","keys_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/teams","hooks_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/hooks","issue_events_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/issues/events{/number}","events_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/events","assignees_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/assignees{/user}","branches_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/branches{/branch}","tags_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/tags","blobs_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/git/refs{/sha}","trees_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/statuses/{sha}","languages_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/languages","stargazers_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/stargazers","contributors_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/contributors","subscribers_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/subscribers","subscription_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/subscription","commits_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/commits{/sha}","git_commits_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/git/commits{/sha}","comments_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/comments{/number}","issue_comment_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/issues/comments{/number}","contents_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/contents/{+path}","compare_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/merges","archive_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/downloads","issues_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/issues{/number}","pulls_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls{/number}","milestones_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/milestones{/number}","notifications_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/labels{/name}","releases_url":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/releases{/id}","created_at":"2015-08-08T20:57:20Z","updated_at":"2015-10-28T12:59:42Z","pushed_at":"2015-10-26T21:10:28Z","git_url":"git://github.com/minimaxir/big-list-of-naughty-strings.git","ssh_url":"git@github.com:minimaxir/big-list-of-naughty-strings.git","clone_url":"https://github.com/minimaxir/big-list-of-naughty-strings.git","svn_url":"https://github.com/minimaxir/big-list-of-naughty-strings","homepage":null,"size":802,"stargazers_count":8992,"watchers_count":8992,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":365,"mirror_url":null,"open_issues_count":12,"forks":365,"open_issues":12,"watchers":8992,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81"},"html":{"href":"https://github.com/minimaxir/big-list-of-naughty-strings/pull/81"},"issue":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/issues/81"},"comments":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/minimaxir/big-list-of-naughty-strings/statuses/49cb0f7535442d1de6ca355d958eb587a8e52bf5"}}}}