]> git.mxchange.org Git - friendica.git/commitdiff
author and owner sign exactly the same string - apparently
authorFriendika <info@friendika.com>
Wed, 24 Aug 2011 02:54:35 +0000 (19:54 -0700)
committerFriendika <info@friendika.com>
Wed, 24 Aug 2011 02:54:35 +0000 (19:54 -0700)
include/diaspora.php

index 3c86b00372d3ac4a56a72a3f15f112580d823410..320f716bf850f4dd415baac4d1a472fd7543f243 100644 (file)
@@ -514,7 +514,8 @@ function diaspora_comment($importer,$xml,$msg) {
 
 
        if($parent_author_signature) {
-               $owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $msg['author'];
+//             $owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $msg['author'];
+               $owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $diaspora_handle;
 
                $parent_author_signature = base64_decode($parent_author_signature);
 
@@ -734,7 +735,8 @@ function diaspora_like($importer,$xml,$msg) {
        }
 
        if($parent_author_signature) {
-               $owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $msg['author'];
+//             $owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $msg['author'];
+               $owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $diaspora_handle;
 
                $parent_author_signature = base64_decode($parent_author_signature);