{"action":"created","comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments/43868371","id":43868371,"diff_hunk":"@@ -295,10 +295,20 @@ void WebApplication::action_command_shutdown()\n void WebApplication::action_command_download()\n {\n     CHECK_URI(0);\n-    CHECK_PARAMETERS(\"urls\");\n+    CHECK_PARAMETERS(\"urls\" << \"label\" << \"savePath\" << \"skipChecking\");\n+\n     QString urls = request().posts[\"urls\"];\n     QStringList list = urls.split('\\n');\n \n+    QString label = request().posts[\"label\"].simplified();\n+    QString savePath = request().posts[\"savePath\"].simplified();","path":"src/webui/webapplication.cpp","position":11,"original_position":11,"commit_id":"cca48a49b808e31d40938f6e3adac1e1c39eebba","original_commit_id":"cca48a49b808e31d40938f6e3adac1e1c39eebba","user":{"login":"glassez","id":5063477,"avatar_url":"https://avatars.githubusercontent.com/u/5063477?v=3","gravatar_id":"","url":"https://api.github.com/users/glassez","html_url":"https://github.com/glassez","followers_url":"https://api.github.com/users/glassez/followers","following_url":"https://api.github.com/users/glassez/following{/other_user}","gists_url":"https://api.github.com/users/glassez/gists{/gist_id}","starred_url":"https://api.github.com/users/glassez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glassez/subscriptions","organizations_url":"https://api.github.com/users/glassez/orgs","repos_url":"https://api.github.com/users/glassez/repos","events_url":"https://api.github.com/users/glassez/events{/privacy}","received_events_url":"https://api.github.com/users/glassez/received_events","type":"User","site_admin":false},"body":"I think to use simplified() is incorrect for these values.","created_at":"2015-11-04T11:17:27Z","updated_at":"2015-11-04T11:17:27Z","html_url":"https://github.com/qbittorrent/qBittorrent/pull/3199#discussion_r43868371","pull_request_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199","_links":{"self":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments/43868371"},"html":{"href":"https://github.com/qbittorrent/qBittorrent/pull/3199#discussion_r43868371"},"pull_request":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199"}}},"pull_request":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199","id":37582741,"html_url":"https://github.com/qbittorrent/qBittorrent/pull/3199","diff_url":"https://github.com/qbittorrent/qBittorrent/pull/3199.diff","patch_url":"https://github.com/qbittorrent/qBittorrent/pull/3199.patch","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3199","number":3199,"state":"open","locked":false,"title":"WebUI: set download directory when adding torrent","user":{"login":"equeim","id":5106414,"avatar_url":"https://avatars.githubusercontent.com/u/5106414?v=3","gravatar_id":"","url":"https://api.github.com/users/equeim","html_url":"https://github.com/equeim","followers_url":"https://api.github.com/users/equeim/followers","following_url":"https://api.github.com/users/equeim/following{/other_user}","gists_url":"https://api.github.com/users/equeim/gists{/gist_id}","starred_url":"https://api.github.com/users/equeim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equeim/subscriptions","organizations_url":"https://api.github.com/users/equeim/orgs","repos_url":"https://api.github.com/users/equeim/repos","events_url":"https://api.github.com/users/equeim/events{/privacy}","received_events_url":"https://api.github.com/users/equeim/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-12T16:46:43Z","updated_at":"2015-11-04T11:17:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c912cf81af05e75d7305711c7c2473252da567e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199/commits","review_comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199/comments","review_comment_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3199/comments","statuses_url":"https://api.github.com/repos/qbittorrent/qBittorrent/statuses/cca48a49b808e31d40938f6e3adac1e1c39eebba","head":{"label":"equeim:webui_improvements","ref":"webui_improvements","sha":"cca48a49b808e31d40938f6e3adac1e1c39eebba","user":{"login":"equeim","id":5106414,"avatar_url":"https://avatars.githubusercontent.com/u/5106414?v=3","gravatar_id":"","url":"https://api.github.com/users/equeim","html_url":"https://github.com/equeim","followers_url":"https://api.github.com/users/equeim/followers","following_url":"https://api.github.com/users/equeim/following{/other_user}","gists_url":"https://api.github.com/users/equeim/gists{/gist_id}","starred_url":"https://api.github.com/users/equeim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equeim/subscriptions","organizations_url":"https://api.github.com/users/equeim/orgs","repos_url":"https://api.github.com/users/equeim/repos","events_url":"https://api.github.com/users/equeim/events{/privacy}","received_events_url":"https://api.github.com/users/equeim/received_events","type":"User","site_admin":false},"repo":{"id":37214704,"name":"qBittorrent","full_name":"equeim/qBittorrent","owner":{"login":"equeim","id":5106414,"avatar_url":"https://avatars.githubusercontent.com/u/5106414?v=3","gravatar_id":"","url":"https://api.github.com/users/equeim","html_url":"https://github.com/equeim","followers_url":"https://api.github.com/users/equeim/followers","following_url":"https://api.github.com/users/equeim/following{/other_user}","gists_url":"https://api.github.com/users/equeim/gists{/gist_id}","starred_url":"https://api.github.com/users/equeim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equeim/subscriptions","organizations_url":"https://api.github.com/users/equeim/orgs","repos_url":"https://api.github.com/users/equeim/repos","events_url":"https://api.github.com/users/equeim/events{/privacy}","received_events_url":"https://api.github.com/users/equeim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/equeim/qBittorrent","description":"qBittorrent BitTorrent client","fork":true,"url":"https://api.github.com/repos/equeim/qBittorrent","forks_url":"https://api.github.com/repos/equeim/qBittorrent/forks","keys_url":"https://api.github.com/repos/equeim/qBittorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/equeim/qBittorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/equeim/qBittorrent/teams","hooks_url":"https://api.github.com/repos/equeim/qBittorrent/hooks","issue_events_url":"https://api.github.com/repos/equeim/qBittorrent/issues/events{/number}","events_url":"https://api.github.com/repos/equeim/qBittorrent/events","assignees_url":"https://api.github.com/repos/equeim/qBittorrent/assignees{/user}","branches_url":"https://api.github.com/repos/equeim/qBittorrent/branches{/branch}","tags_url":"https://api.github.com/repos/equeim/qBittorrent/tags","blobs_url":"https://api.github.com/repos/equeim/qBittorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/equeim/qBittorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/equeim/qBittorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/equeim/qBittorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/equeim/qBittorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/equeim/qBittorrent/languages","stargazers_url":"https://api.github.com/repos/equeim/qBittorrent/stargazers","contributors_url":"https://api.github.com/repos/equeim/qBittorrent/contributors","subscribers_url":"https://api.github.com/repos/equeim/qBittorrent/subscribers","subscription_url":"https://api.github.com/repos/equeim/qBittorrent/subscription","commits_url":"https://api.github.com/repos/equeim/qBittorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/equeim/qBittorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/equeim/qBittorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/equeim/qBittorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/equeim/qBittorrent/contents/{+path}","compare_url":"https://api.github.com/repos/equeim/qBittorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/equeim/qBittorrent/merges","archive_url":"https://api.github.com/repos/equeim/qBittorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/equeim/qBittorrent/downloads","issues_url":"https://api.github.com/repos/equeim/qBittorrent/issues{/number}","pulls_url":"https://api.github.com/repos/equeim/qBittorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/equeim/qBittorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/equeim/qBittorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/equeim/qBittorrent/labels{/name}","releases_url":"https://api.github.com/repos/equeim/qBittorrent/releases{/id}","created_at":"2015-06-10T18:24:09Z","updated_at":"2015-06-10T18:24:13Z","pushed_at":"2015-06-18T20:49:43Z","git_url":"git://github.com/equeim/qBittorrent.git","ssh_url":"git@github.com:equeim/qBittorrent.git","clone_url":"https://github.com/equeim/qBittorrent.git","svn_url":"https://github.com/equeim/qBittorrent","homepage":"http://www.qbittorrent.org","size":105629,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"qbittorrent:master","ref":"master","sha":"75fecf96456b1f5abfbf23b125808d5ef95a42be","user":{"login":"qbittorrent","id":2131270,"avatar_url":"https://avatars.githubusercontent.com/u/2131270?v=3","gravatar_id":"","url":"https://api.github.com/users/qbittorrent","html_url":"https://github.com/qbittorrent","followers_url":"https://api.github.com/users/qbittorrent/followers","following_url":"https://api.github.com/users/qbittorrent/following{/other_user}","gists_url":"https://api.github.com/users/qbittorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/qbittorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qbittorrent/subscriptions","organizations_url":"https://api.github.com/users/qbittorrent/orgs","repos_url":"https://api.github.com/users/qbittorrent/repos","events_url":"https://api.github.com/users/qbittorrent/events{/privacy}","received_events_url":"https://api.github.com/users/qbittorrent/received_events","type":"Organization","site_admin":false},"repo":{"id":3351871,"name":"qBittorrent","full_name":"qbittorrent/qBittorrent","owner":{"login":"qbittorrent","id":2131270,"avatar_url":"https://avatars.githubusercontent.com/u/2131270?v=3","gravatar_id":"","url":"https://api.github.com/users/qbittorrent","html_url":"https://github.com/qbittorrent","followers_url":"https://api.github.com/users/qbittorrent/followers","following_url":"https://api.github.com/users/qbittorrent/following{/other_user}","gists_url":"https://api.github.com/users/qbittorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/qbittorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qbittorrent/subscriptions","organizations_url":"https://api.github.com/users/qbittorrent/orgs","repos_url":"https://api.github.com/users/qbittorrent/repos","events_url":"https://api.github.com/users/qbittorrent/events{/privacy}","received_events_url":"https://api.github.com/users/qbittorrent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qbittorrent/qBittorrent","description":"qBittorrent BitTorrent client","fork":false,"url":"https://api.github.com/repos/qbittorrent/qBittorrent","forks_url":"https://api.github.com/repos/qbittorrent/qBittorrent/forks","keys_url":"https://api.github.com/repos/qbittorrent/qBittorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qbittorrent/qBittorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qbittorrent/qBittorrent/teams","hooks_url":"https://api.github.com/repos/qbittorrent/qBittorrent/hooks","issue_events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/events{/number}","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/events","assignees_url":"https://api.github.com/repos/qbittorrent/qBittorrent/assignees{/user}","branches_url":"https://api.github.com/repos/qbittorrent/qBittorrent/branches{/branch}","tags_url":"https://api.github.com/repos/qbittorrent/qBittorrent/tags","blobs_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qbittorrent/qBittorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/qbittorrent/qBittorrent/languages","stargazers_url":"https://api.github.com/repos/qbittorrent/qBittorrent/stargazers","contributors_url":"https://api.github.com/repos/qbittorrent/qBittorrent/contributors","subscribers_url":"https://api.github.com/repos/qbittorrent/qBittorrent/subscribers","subscription_url":"https://api.github.com/repos/qbittorrent/qBittorrent/subscription","commits_url":"https://api.github.com/repos/qbittorrent/qBittorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/qbittorrent/qBittorrent/contents/{+path}","compare_url":"https://api.github.com/repos/qbittorrent/qBittorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qbittorrent/qBittorrent/merges","archive_url":"https://api.github.com/repos/qbittorrent/qBittorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qbittorrent/qBittorrent/downloads","issues_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues{/number}","pulls_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/qbittorrent/qBittorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/qbittorrent/qBittorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/labels{/name}","releases_url":"https://api.github.com/repos/qbittorrent/qBittorrent/releases{/id}","created_at":"2012-02-04T09:37:46Z","updated_at":"2015-11-04T10:15:33Z","pushed_at":"2015-11-04T02:30:59Z","git_url":"git://github.com/qbittorrent/qBittorrent.git","ssh_url":"git@github.com:qbittorrent/qBittorrent.git","clone_url":"https://github.com/qbittorrent/qBittorrent.git","svn_url":"https://github.com/qbittorrent/qBittorrent","homepage":"http://www.qbittorrent.org","size":129457,"stargazers_count":1281,"watchers_count":1281,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":371,"mirror_url":null,"open_issues_count":1139,"forks":371,"open_issues":1139,"watchers":1281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199"},"html":{"href":"https://github.com/qbittorrent/qBittorrent/pull/3199"},"issue":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3199"},"comments":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3199/comments"},"review_comments":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199/comments"},"review_comment":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3199/commits"},"statuses":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/statuses/cca48a49b808e31d40938f6e3adac1e1c39eebba"}}}}