{"action":"created","comment":{"url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/comments/78769299","id":78769299,"diff_hunk":"@@ -123,6 +124,10 @@ protected void setParameters(int type, List<org.zaproxy.zap.model.NameValuePair>\n             listParam.add(new NameValuePair(type, nonNullString(parameter.getName()), nonNullString(parameter.getValue()), i));\r\n             i++;\r\n         }\r\n+        if (i == 0) {\r\n+        \t// No query params, lets add one just to make sure\r\n+            listParam.add(new NameValuePair(type, \"query\", \"query\", i));\r","path":"src/org/parosproxy/paros/core/scanner/VariantAbstractQuery.java","position":14,"original_position":14,"commit_id":"d7fcc626e8691da896bcf68b9caaf12801965509","original_commit_id":"4cbfbbaa7a1f12645bbcac24cc0f1223489c7463","user":{"login":"thc202","id":4639210,"avatar_url":"https://avatars.githubusercontent.com/u/4639210?v=3","gravatar_id":"","url":"https://api.github.com/users/thc202","html_url":"https://github.com/thc202","followers_url":"https://api.github.com/users/thc202/followers","following_url":"https://api.github.com/users/thc202/following{/other_user}","gists_url":"https://api.github.com/users/thc202/gists{/gist_id}","starred_url":"https://api.github.com/users/thc202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thc202/subscriptions","organizations_url":"https://api.github.com/users/thc202/orgs","repos_url":"https://api.github.com/users/thc202/repos","events_url":"https://api.github.com/users/thc202/events{/privacy}","received_events_url":"https://api.github.com/users/thc202/received_events","type":"User","site_admin":false},"body":"I'm OK with both ways. We should document the behaviour in the help pages, though.","created_at":"2016-09-14T15:13:30Z","updated_at":"2016-09-14T15:13:30Z","html_url":"https://github.com/zaproxy/zaproxy/pull/2863#discussion_r78769299","pull_request_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863","_links":{"self":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/comments/78769299"},"html":{"href":"https://github.com/zaproxy/zaproxy/pull/2863#discussion_r78769299"},"pull_request":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863"}}},"pull_request":{"url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863","id":85035858,"html_url":"https://github.com/zaproxy/zaproxy/pull/2863","diff_url":"https://github.com/zaproxy/zaproxy/pull/2863.diff","patch_url":"https://github.com/zaproxy/zaproxy/pull/2863.patch","issue_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2863","number":2863,"state":"open","locked":false,"title":"Attack query string even if not originally specified","user":{"login":"psiinon","id":1081115,"avatar_url":"https://avatars.githubusercontent.com/u/1081115?v=3","gravatar_id":"","url":"https://api.github.com/users/psiinon","html_url":"https://github.com/psiinon","followers_url":"https://api.github.com/users/psiinon/followers","following_url":"https://api.github.com/users/psiinon/following{/other_user}","gists_url":"https://api.github.com/users/psiinon/gists{/gist_id}","starred_url":"https://api.github.com/users/psiinon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psiinon/subscriptions","organizations_url":"https://api.github.com/users/psiinon/orgs","repos_url":"https://api.github.com/users/psiinon/repos","events_url":"https://api.github.com/users/psiinon/events{/privacy}","received_events_url":"https://api.github.com/users/psiinon/received_events","type":"User","site_admin":false},"body":"Fixes #2862","created_at":"2016-09-13T12:08:57Z","updated_at":"2016-09-14T15:13:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a16ab2c86b17bdd5a4a4f4afe81598ee2c8050ed","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863/commits","review_comments_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863/comments","review_comment_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2863/comments","statuses_url":"https://api.github.com/repos/zaproxy/zaproxy/statuses/d7fcc626e8691da896bcf68b9caaf12801965509","head":{"label":"psiinon:develop","ref":"develop","sha":"d7fcc626e8691da896bcf68b9caaf12801965509","user":{"login":"psiinon","id":1081115,"avatar_url":"https://avatars.githubusercontent.com/u/1081115?v=3","gravatar_id":"","url":"https://api.github.com/users/psiinon","html_url":"https://github.com/psiinon","followers_url":"https://api.github.com/users/psiinon/followers","following_url":"https://api.github.com/users/psiinon/following{/other_user}","gists_url":"https://api.github.com/users/psiinon/gists{/gist_id}","starred_url":"https://api.github.com/users/psiinon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psiinon/subscriptions","organizations_url":"https://api.github.com/users/psiinon/orgs","repos_url":"https://api.github.com/users/psiinon/repos","events_url":"https://api.github.com/users/psiinon/events{/privacy}","received_events_url":"https://api.github.com/users/psiinon/received_events","type":"User","site_admin":false},"repo":{"id":37541145,"name":"zaproxy","full_name":"psiinon/zaproxy","owner":{"login":"psiinon","id":1081115,"avatar_url":"https://avatars.githubusercontent.com/u/1081115?v=3","gravatar_id":"","url":"https://api.github.com/users/psiinon","html_url":"https://github.com/psiinon","followers_url":"https://api.github.com/users/psiinon/followers","following_url":"https://api.github.com/users/psiinon/following{/other_user}","gists_url":"https://api.github.com/users/psiinon/gists{/gist_id}","starred_url":"https://api.github.com/users/psiinon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psiinon/subscriptions","organizations_url":"https://api.github.com/users/psiinon/orgs","repos_url":"https://api.github.com/users/psiinon/repos","events_url":"https://api.github.com/users/psiinon/events{/privacy}","received_events_url":"https://api.github.com/users/psiinon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psiinon/zaproxy","description":"The OWASP ZAP core project","fork":true,"url":"https://api.github.com/repos/psiinon/zaproxy","forks_url":"https://api.github.com/repos/psiinon/zaproxy/forks","keys_url":"https://api.github.com/repos/psiinon/zaproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psiinon/zaproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psiinon/zaproxy/teams","hooks_url":"https://api.github.com/repos/psiinon/zaproxy/hooks","issue_events_url":"https://api.github.com/repos/psiinon/zaproxy/issues/events{/number}","events_url":"https://api.github.com/repos/psiinon/zaproxy/events","assignees_url":"https://api.github.com/repos/psiinon/zaproxy/assignees{/user}","branches_url":"https://api.github.com/repos/psiinon/zaproxy/branches{/branch}","tags_url":"https://api.github.com/repos/psiinon/zaproxy/tags","blobs_url":"https://api.github.com/repos/psiinon/zaproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psiinon/zaproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psiinon/zaproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/psiinon/zaproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psiinon/zaproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/psiinon/zaproxy/languages","stargazers_url":"https://api.github.com/repos/psiinon/zaproxy/stargazers","contributors_url":"https://api.github.com/repos/psiinon/zaproxy/contributors","subscribers_url":"https://api.github.com/repos/psiinon/zaproxy/subscribers","subscription_url":"https://api.github.com/repos/psiinon/zaproxy/subscription","commits_url":"https://api.github.com/repos/psiinon/zaproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/psiinon/zaproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/psiinon/zaproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/psiinon/zaproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/psiinon/zaproxy/contents/{+path}","compare_url":"https://api.github.com/repos/psiinon/zaproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psiinon/zaproxy/merges","archive_url":"https://api.github.com/repos/psiinon/zaproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psiinon/zaproxy/downloads","issues_url":"https://api.github.com/repos/psiinon/zaproxy/issues{/number}","pulls_url":"https://api.github.com/repos/psiinon/zaproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/psiinon/zaproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/psiinon/zaproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psiinon/zaproxy/labels{/name}","releases_url":"https://api.github.com/repos/psiinon/zaproxy/releases{/id}","deployments_url":"https://api.github.com/repos/psiinon/zaproxy/deployments","created_at":"2015-06-16T16:09:29Z","updated_at":"2016-01-25T12:32:54Z","pushed_at":"2016-09-14T14:37:55Z","git_url":"git://github.com/psiinon/zaproxy.git","ssh_url":"git@github.com:psiinon/zaproxy.git","clone_url":"https://github.com/psiinon/zaproxy.git","svn_url":"https://github.com/psiinon/zaproxy","homepage":null,"size":166158,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"develop"}},"base":{"label":"zaproxy:develop","ref":"develop","sha":"6739bba5bc656ee345f17fe7c6c0fd56ca1c2aa2","user":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars.githubusercontent.com/u/6716868?v=3","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"repo":{"id":36817565,"name":"zaproxy","full_name":"zaproxy/zaproxy","owner":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars.githubusercontent.com/u/6716868?v=3","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zaproxy/zaproxy","description":"The OWASP ZAP core project","fork":false,"url":"https://api.github.com/repos/zaproxy/zaproxy","forks_url":"https://api.github.com/repos/zaproxy/zaproxy/forks","keys_url":"https://api.github.com/repos/zaproxy/zaproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaproxy/zaproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaproxy/zaproxy/teams","hooks_url":"https://api.github.com/repos/zaproxy/zaproxy/hooks","issue_events_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/events{/number}","events_url":"https://api.github.com/repos/zaproxy/zaproxy/events","assignees_url":"https://api.github.com/repos/zaproxy/zaproxy/assignees{/user}","branches_url":"https://api.github.com/repos/zaproxy/zaproxy/branches{/branch}","tags_url":"https://api.github.com/repos/zaproxy/zaproxy/tags","blobs_url":"https://api.github.com/repos/zaproxy/zaproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaproxy/zaproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaproxy/zaproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaproxy/zaproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaproxy/zaproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/zaproxy/zaproxy/languages","stargazers_url":"https://api.github.com/repos/zaproxy/zaproxy/stargazers","contributors_url":"https://api.github.com/repos/zaproxy/zaproxy/contributors","subscribers_url":"https://api.github.com/repos/zaproxy/zaproxy/subscribers","subscription_url":"https://api.github.com/repos/zaproxy/zaproxy/subscription","commits_url":"https://api.github.com/repos/zaproxy/zaproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaproxy/zaproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaproxy/zaproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaproxy/zaproxy/contents/{+path}","compare_url":"https://api.github.com/repos/zaproxy/zaproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaproxy/zaproxy/merges","archive_url":"https://api.github.com/repos/zaproxy/zaproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaproxy/zaproxy/downloads","issues_url":"https://api.github.com/repos/zaproxy/zaproxy/issues{/number}","pulls_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/zaproxy/zaproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/zaproxy/zaproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaproxy/zaproxy/labels{/name}","releases_url":"https://api.github.com/repos/zaproxy/zaproxy/releases{/id}","deployments_url":"https://api.github.com/repos/zaproxy/zaproxy/deployments","created_at":"2015-06-03T16:55:01Z","updated_at":"2016-09-14T14:57:11Z","pushed_at":"2016-09-14T14:37:55Z","git_url":"git://github.com/zaproxy/zaproxy.git","ssh_url":"git@github.com:zaproxy/zaproxy.git","clone_url":"https://github.com/zaproxy/zaproxy.git","svn_url":"https://github.com/zaproxy/zaproxy","homepage":null,"size":171966,"stargazers_count":1576,"watchers_count":1576,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":351,"mirror_url":null,"open_issues_count":524,"forks":351,"open_issues":524,"watchers":1576,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863"},"html":{"href":"https://github.com/zaproxy/zaproxy/pull/2863"},"issue":{"href":"https://api.github.com/repos/zaproxy/zaproxy/issues/2863"},"comments":{"href":"https://api.github.com/repos/zaproxy/zaproxy/issues/2863/comments"},"review_comments":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863/comments"},"review_comment":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2863/commits"},"statuses":{"href":"https://api.github.com/repos/zaproxy/zaproxy/statuses/d7fcc626e8691da896bcf68b9caaf12801965509"}}}}
{"actor":{"display_login":"thc202"}}