{"action":"created","issue":{"url":"https://api.github.com/repos/huashengdun/webssh/issues/25","repository_url":"https://api.github.com/repos/huashengdun/webssh","labels_url":"https://api.github.com/repos/huashengdun/webssh/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/huashengdun/webssh/issues/25/comments","events_url":"https://api.github.com/repos/huashengdun/webssh/issues/25/events","html_url":"https://github.com/huashengdun/webssh/issues/25","id":359053704,"node_id":"MDU6SXNzdWUzNTkwNTM3MDQ=","number":25,"title":"safari not support FormData.get","user":{"login":"CJSoldier","id":11347209,"node_id":"MDQ6VXNlcjExMzQ3MjA5","avatar_url":"https://avatars1.githubusercontent.com/u/11347209?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSoldier","html_url":"https://github.com/CJSoldier","followers_url":"https://api.github.com/users/CJSoldier/followers","following_url":"https://api.github.com/users/CJSoldier/following{/other_user}","gists_url":"https://api.github.com/users/CJSoldier/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSoldier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSoldier/subscriptions","organizations_url":"https://api.github.com/users/CJSoldier/orgs","repos_url":"https://api.github.com/users/CJSoldier/repos","events_url":"https://api.github.com/users/CJSoldier/events{/privacy}","received_events_url":"https://api.github.com/users/CJSoldier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-11T13:42:35Z","updated_at":"2018-09-12T10:08:33Z","closed_at":null,"author_association":"NONE","body":"in main.js line 373.\r\n\r\n```\r\n  function connect_without_options() {\r\n    // use data from the form\r\n    var form = document.querySelector(form_id),\r\n        url = form.action,\r\n        data = new FormData(form),\r\n        pk = data.get('privatekey');\r\n```\r\nI'm writing a small tool supporting multi platform using webview.\r\nI like your webssh, I really need this, please fix it.\r\nI tried to fix, but I got \"'_xsrf' argument missing from POST\" after calling `ajax_post`.\r\n哥们儿加油。"},"comment":{"url":"https://api.github.com/repos/huashengdun/webssh/issues/comments/420590530","html_url":"https://github.com/huashengdun/webssh/issues/25#issuecomment-420590530","issue_url":"https://api.github.com/repos/huashengdun/webssh/issues/25","id":420590530,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDU5MDUzMA==","user":{"login":"CJSoldier","id":11347209,"node_id":"MDQ6VXNlcjExMzQ3MjA5","avatar_url":"https://avatars1.githubusercontent.com/u/11347209?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSoldier","html_url":"https://github.com/CJSoldier","followers_url":"https://api.github.com/users/CJSoldier/followers","following_url":"https://api.github.com/users/CJSoldier/following{/other_user}","gists_url":"https://api.github.com/users/CJSoldier/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSoldier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSoldier/subscriptions","organizations_url":"https://api.github.com/users/CJSoldier/orgs","repos_url":"https://api.github.com/users/CJSoldier/repos","events_url":"https://api.github.com/users/CJSoldier/events{/privacy}","received_events_url":"https://api.github.com/users/CJSoldier/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T10:08:33Z","updated_at":"2018-09-12T10:08:33Z","author_association":"NONE","body":"不好意思，提交的代码有问题。没有考虑到privatekey是一个文件。终于知道为什么你要用FormData了。\r\n这个bug还是麻烦你来修复一下吧，我尽力了。"}}
{"actor":{"display_login":"CJSoldier"}}