{"action":"opened","issue":{"url":"https://api.github.com/repos/haiwen/seafile/issues/1072","labels_url":"https://api.github.com/repos/haiwen/seafile/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/haiwen/seafile/issues/1072/comments","events_url":"https://api.github.com/repos/haiwen/seafile/issues/1072/events","html_url":"https://github.com/haiwen/seafile/issues/1072","id":57252789,"number":1072,"title":"Password field in (at least) Seafile Client 4.1.0/Win not properly escaped","user":{"login":"lsrx","id":10949281,"avatar_url":"https://avatars.githubusercontent.com/u/10949281?v=3","gravatar_id":"","url":"https://api.github.com/users/lsrx","html_url":"https://github.com/lsrx","followers_url":"https://api.github.com/users/lsrx/followers","following_url":"https://api.github.com/users/lsrx/following{/other_user}","gists_url":"https://api.github.com/users/lsrx/gists{/gist_id}","starred_url":"https://api.github.com/users/lsrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsrx/subscriptions","organizations_url":"https://api.github.com/users/lsrx/orgs","repos_url":"https://api.github.com/users/lsrx/repos","events_url":"https://api.github.com/users/lsrx/events{/privacy}","received_events_url":"https://api.github.com/users/lsrx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-10T23:12:25Z","updated_at":"2015-02-10T23:12:25Z","closed_at":null,"body":"After upgrading server & client to 4.x I couldn't access my libraries with Seafile Client any longer: \"Failed to login: Incorrect email or password\" – although no problems signing into Seahub with exactly the same credentials. As it turns out, the plus sign (+) in my password caused the headache, it's not properly escaped but treated as whitespace like application/x-www-form-urlencoded.\r\n\r\nSteps to reproduce:\r\n1) Add/change account in Seahub with at least one + sign in password\r\n2) Try to login with same credentials using Seahub Client => fails\r\n3) Manually escape the + in your pass in Seahub Client with %2b, e. g.\r\ntransform abc+123 into abc%2b123 => succeeds\r\n\r\nMaybe the username is also affected."}}