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
- Code: Select all
<message to='XXXX@jabber.freenet.de' type='normal' id='normal_1145370013'>
<body>Hello XXXX,
You have received a new private message from "xern" to your account on "xxx.de" with the following subject:
[b]Ö[/b]
You can view your new message by clicking on the following link:
http://XXX.de:443/phpBB2/ucp.php?i=pm&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
- Code: Select all
<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.