Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1475

Connection crashen when sending control characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

          Hide
          stytrix Holger Bergunde added a comment -

          fixed by replacing control characters with nothing

          Show
          stytrix Holger Bergunde added a comment - fixed by replacing control characters with nothing
          Hide
          it2000 LG added a comment -

          With this fix also the valid character
          u000D is removed. And there are much more illegal characters. On server side there is a similar issue http://issues.igniterealtime.org/browse/OF-391
          Allowed Chars ::= #x9 | #xA | #xD | x20-#xD7FF | xE000-#xFFFD | x10000-#x10FFFF

          Show
          it2000 LG added a comment - With this fix also the valid character u000D is removed. And there are much more illegal characters. On server side there is a similar issue http://issues.igniterealtime.org/browse/OF-391 Allowed Chars ::= #x9 | #xA | #xD | x20-#xD7FF | xE000-#xFFFD | x10000-#x10FFFF
          Hide
          stytrix Holger Bergunde added a comment -

          yep, u000D is removed. in which situation do you need the cr flag?

          Show
          stytrix Holger Bergunde added a comment - yep, u000D is removed. in which situation do you need the cr flag?
          Hide
          webeling Walter Ebeling added a comment -

          Mass closing of resolved issues

          Show
          webeling Walter Ebeling added a comment - Mass closing of resolved issues

            People

            • Assignee:
              stytrix Holger Bergunde
              Reporter:
              stytrix Holger Bergunde
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: