{"action":"opened","issue":{"url":"https://api.github.com/repos/commixproject/commix/issues/54","repository_url":"https://api.github.com/repos/commixproject/commix","labels_url":"https://api.github.com/repos/commixproject/commix/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/commixproject/commix/issues/54/comments","events_url":"https://api.github.com/repos/commixproject/commix/issues/54/events","html_url":"https://github.com/commixproject/commix/issues/54","id":193413502,"number":54,"title":"Failed to parse json payload","user":{"login":"alpha1e0","id":11886917,"avatar_url":"https://avatars.githubusercontent.com/u/11886917?v=3","gravatar_id":"","url":"https://api.github.com/users/alpha1e0","html_url":"https://github.com/alpha1e0","followers_url":"https://api.github.com/users/alpha1e0/followers","following_url":"https://api.github.com/users/alpha1e0/following{/other_user}","gists_url":"https://api.github.com/users/alpha1e0/gists{/gist_id}","starred_url":"https://api.github.com/users/alpha1e0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpha1e0/subscriptions","organizations_url":"https://api.github.com/users/alpha1e0/orgs","repos_url":"https://api.github.com/users/alpha1e0/repos","events_url":"https://api.github.com/users/alpha1e0/events{/privacy}","received_events_url":"https://api.github.com/users/alpha1e0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-05T05:16:05Z","updated_at":"2016-12-05T05:16:05Z","closed_at":null,"body":"Hi,\r\n\r\nI found a issue when I input a json-formated payload like this:\r\n\r\n`python commix.py -u http://xxxx --data '{\"dir\" :{\"path\": \".\"}}'`\r\n\r\nwhen there exists whitespace before \":\",  commix will not work correctly.\r\n\r\n> commix/src/core/requests/parameters.py: 225\r\n\r\n`value = re.findall(r'\\:\\\"(.*)\\\"', parameter)`\r\n\r\nthe regular expression here would get nothing if there exists whitespace\r\n\r\nI think, it should be\r\n\r\n`value = re.findall(r'\\:\\s*\\\"(.*)\\\"', parameter)`\r\n"}}
{"actor":{"display_login":"alpha1e0"}}