8000 Make sure children are escaped properly in TwiML XML · senthgit/twilio-java@dee2dcc · GitHub
[go: up one dir, main page]

Skip to content

Commit dee2dcc

Browse files
author
Vincent Pizzo
committed
Make sure children are escaped properly in TwiML XML
1 parent 1669a11 commit dee2dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/twilio/sdk/verbs/Verb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private String toXML(final boolean escape) {
160160
xml += body;
161161
}
162162
for (Verb child : children){
163-
xml += child.toXML();
163+
xml += child.toXML(escape);
164164
}
165165
return xml += "</" + this.tag + ">";
166166
}

0 commit comments

Comments
 (0)
0