urldecode private- and public-key

This commit is contained in:
Bjoern Schiessle 2012-08-27 17:51:02 +02:00
parent e3ac15bad3
commit 2e796b563f
1 changed files with 2 additions and 2 deletions

View File

@ -193,8 +193,8 @@ class OC_OCS {
//keysetuser
}elseif(($method=='post') and ($ex[$paracount-4] == 'v1.php') and ($ex[$paracount-3]=='cloud') and ($ex[$paracount-2] == 'userkeys')){
$privatekey = self::readData('post', 'privatekey', 'string');
$publickey = self::readData('post', 'publickey', 'string');
$privatekey = urldecode(self::readData('post', 'privatekey', 'string'));
$publickey = urldecode(self::readData('post', 'publickey', 'string'));
OC_OCS::userKeysSet($format, $privatekey, $publickey);
// keygetfiles