diff options
author | paweldomas <pawel.domas@jitsi.org> | 2016-10-05 13:03:18 -0500 |
---|---|---|
committer | paweldomas <pawel.domas@jitsi.org> | 2016-10-05 13:03:18 -0500 |
commit | 94db8054a6f7de9d7af5dcc7a51273926e5427f9 (patch) | |
tree | a42a6e0c434b3f24ee8b1acb48fd75ccf737b4db | |
parent | ef1af9c72cc4f2001971cfd7c29b948f8137e0ea (diff) | |
download | jitsi-94db8054a6f7de9d7af5dcc7a51273926e5427f9.zip jitsi-94db8054a6f7de9d7af5dcc7a51273926e5427f9.tar.gz jitsi-94db8054a6f7de9d7af5dcc7a51273926e5427f9.tar.bz2 |
Escape to XML text fields in the JibriIq
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/extensions/jibri/JibriIq.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jibri/JibriIq.java b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jibri/JibriIq.java index 0e14d96..8b964af 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jibri/JibriIq.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jibri/JibriIq.java @@ -198,8 +198,11 @@ public class JibriIq StringBuilder xml, String attrName, String attr) { if (!StringUtils.isNullOrEmpty(attr)) + { + attr = org.jivesoftware.smack.util.StringUtils.escapeForXML(attr); xml.append(attrName).append("='") .append(attr).append("' "); + } } /** |