From: Brion Vibber Date: Fri, 30 Apr 2010 20:37:40 +0000 (-0700) Subject: Update XMPPHP to last upstream release (r77), includes an XML quoting fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a39efbd8d8996f4e9375c397b2f5e8c149fcff68;p=quix0rs-gnu-social.git Update XMPPHP to last upstream release (r77), includes an XML quoting fix. --- diff --git a/extlib/XMPPHP/XMPP.php b/extlib/XMPPHP/XMPP.php index 429f45e565..c0f8963396 100644 --- a/extlib/XMPPHP/XMPP.php +++ b/extlib/XMPPHP/XMPP.php @@ -171,7 +171,7 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { $body = htmlspecialchars($body); $subject = htmlspecialchars($subject); - $out = ""; + $out = "fulljid}\" to=\"$to\" type='$type'>"; if($subject) $out .= "$subject"; $out .= "$body"; if($payload) $out .= $payload; @@ -194,7 +194,7 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { if($show == 'unavailable') $type = 'unavailable'; $out = "