[SPARK-1475] Connection crashen when sending control characters Created: 14/Feb/12 Updated: 24/Feb/13 Resolved: 14/Feb/12 |
|
Status: | Closed |
Project: | Spark |
Components: | None |
Affects versions: | 2.6.3 |
Fix versions: | 2.7.0 |
Type: | Bug | Priority: | Major |
Reporter: | Holger Bergunde | Assignee: | Holger Bergunde |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original estimate: | Not Specified |
Description |
Java basically supports control characters in strings but xml parser recognize them as illegal characters. so if you are sending control characters openfire will close the connection immediately because of malformed data. |
Comments |
Comment by Holger Bergunde [ 14/Feb/12 ] |
fixed by replacing control characters with nothing |
Comment by LG [ 19/Feb/12 ] |
With this fix also the valid character |
Comment by Holger Bergunde [ 23/Feb/12 ] |
yep, u000D is removed. in which situation do you need the cr flag? |
Comment by Walter Ebeling [ 24/Feb/13 ] |
Mass closing of resolved issues |