]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Escaping a URI in common_debug call
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 27 Apr 2017 07:23:45 +0000 (09:23 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 27 Apr 2017 07:23:45 +0000 (09:23 +0200)
plugins/OStatus/classes/Ostatus_profile.php

index b4b38e5aadb4db0d9bdd8a607ec7603233e60483..b6df8d50a20f2153211f2c635fa141a28ad8d0dc 100644 (file)
@@ -367,7 +367,7 @@ class Ostatus_profile extends Managed_DataObject
         if ($this->salmonuri) {
             return Salmon::post($this->salmonuri, $this->notifyPrepXml($entry), $actor, $this->localProfile());
         }
-        common_debug(__CLASS__.' error: No salmonuri for Ostatus_profile uri: '.$this->uri);
+        common_debug(__CLASS__.' error: No salmonuri for Ostatus_profile uri: '._ve($this->getUri()));
 
         return false;
     }