From: Mikael Nordfeldth Date: Thu, 27 Apr 2017 07:23:45 +0000 (+0200) Subject: Escaping a URI in common_debug call X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=598b51eb7a24e63aca308e2013ad7530dbaade40;p=quix0rs-gnu-social.git Escaping a URI in common_debug call --- diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index b4b38e5aad..b6df8d50a2 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -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; }