{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15777","labels_url":"https://api.github.com/repos/owncloud/core/issues/15777/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15777/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15777/events","html_url":"https://github.com/owncloud/core/issues/15777","id":69835740,"number":15777,"title":"Setting a password using the OCS API makes shared links unusable.","user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":156,"closed_issues":889,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-04-27T09:26:02Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":6,"created_at":"2015-04-21T12:40:51Z","updated_at":"2015-04-27T09:33:03Z","closed_at":null,"body":"### Steps to reproduce\r\n\r\n1. Share a folder by link.\r\n2. Update the public share adding a password\r\n    2.1. get the shares ids:\r\n\r\n    ```\r\n    curl -X GET http://USER:PASSWORD@OWNCLOUDPATH/ocs/v1.php/apps/files_sharing/api/v1/shares\r\n    ```\r\n   2.2. Add a password\r\n\r\n   ```\r\n   curl -v -X PUT -d password=sergio http://USER:PASSWORD@OWNCLOUDPATH/ocs/v1.php/apps/files_sharing/api/v1/shares/SHARE_ID\r\n   ```\r\n\r\n\r\n### Expected behaviour\r\nA password is added to the shared link.\r\n\r\n### Actual behaviour\r\nPassword is added, but you can't open the shared file/folder, the password is not recognized.\r\n\r\n\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 14.04 LTS\r\n\r\n**Web server:**\r\nApache\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n5.5.9\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n{\"installed\":true,\"maintenance\":false,\"version\":\"8.1.0.2\",\"versionstring\":\"8.1 alpha 1\",\"edition\":\"\"}\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh\r\n\r\n**List of activated apps:**\r\nNone.\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n\r\n```\r\n\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nno\r\n\r\n**Are you using encryption:** \r\nno\r\n\r\n### Client configuration\r\n\r\n**browser**\r\nChrome"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/96584034","html_url":"https://github.com/owncloud/core/issues/15777#issuecomment-96584034","issue_url":"https://api.github.com/repos/owncloud/core/issues/15777","id":96584034,"user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T09:33:03Z","updated_at":"2015-04-27T09:33:03Z","body":"@PVince81 Yes that is the current behaviour. The token problem was another issue."}}