From 598b51eb7a24e63aca308e2013ad7530dbaade40 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 27 Apr 2017 09:23:45 +0200 Subject: [PATCH] Escaping a URI in common_debug call --- plugins/OStatus/classes/Ostatus_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5