Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-378

Jabber PM Notification special chars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.x
    • Other
    • None
    • PHP Environment:
      Database:

      Since the Jabber notification is now working properly after closing this bug, I've been playing with the feature a little bit.
      There is still a little bug. If your are using specific characters in the subject when writing a PM it won't be submitted.

      SEND

      <message to='XXXX@jabber.freenet.de' type='normal' id='normal_1145370013'>
      <body>Hello XXXX,
       
      You have received a new private message from &quot;xern&quot; to your account on &quot;xxx.de&quot; with the following subject:
       
      [b]&Ouml;[/b]
       
      You can view your new message by clicking on the following link:
       
      http://XXX.de:443/phpBB2/ucp.php?i=pm&amp;mode=unread
       
      You have requested that you be notified on this event, remember that you can always choose not to be notified of new messages by changing the appropriate setting in your profile.
       
      -- 
      Thanks, The Management</body>
      </message>

      RECIEVE

      <stream:error>Invalid XML</stream:error>

      I tried to highlight the problematic part. If the subject contains a character like Ö,Ä,Ü,§
      the message won't be processed by the server. I couldn't test all characters, sometimes & is problematic, too.

      One way to solve this issue would be not subitting the subject which can be defined by the sender. The best solution is to make the xml code full compatible with xml, by preprocessing/filtering those special characters.

            naderman Nils Adermann
            secdo secdo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: