Skip to content
Snippets Groups Projects
Commit 2e796b56 authored by Björn Schießle's avatar Björn Schießle
Browse files

urldecode private- and public-key

parent e3ac15ba
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment