mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-23 02:58:00 +01:00
Escape filename so the Smack connection doesn't crash. SMACK-159
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4547 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
9895123ff3
commit
9ade8ac8cd
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ public class StreamInitiation extends IQ {
|
|||
.append(getNamespace()).append("\" ");
|
||||
|
||||
if (getName() != null) {
|
||||
buffer.append("name=\"").append(getName()).append("\" ");
|
||||
buffer.append("name=\"").append(StringUtils.escapeForXML(getName())).append("\" ");
|
||||
}
|
||||
|
||||
if (getSize() > 0) {
|
||||
|
|
Loading…
Reference in a new issue