[JDEV] Bug: Status messages truncated before quote char

Stanley Kurdziel skurdziel at leapwireless.com
Fri Jul 13 13:05:09 CDT 2001


The current xdb_file in cvs, or xdb_file that was included in the 1.4.1
release?
    I don't know about Jens, but I am using the xdb_file from the stable
download found here:
    http://download.jabber.org/stable/jabber-1.4.1.tar.gz
<http://download.jabber.org/stable/jabber-1.4.1.tar.gz> 
 
Perhaps this has been fixed in the latest cvs version.
 
If I get time, I'll try it out sometime before next wednesday.
 
-sek
 

-----Original Message-----
From: temas [mailto:temas at box5.net]
Sent: Friday, July 13, 2001 9:45 AM
To: jdev at jabber.org
Subject: Re: [JDEV] Bug: Status messages truncated before quote char


We're just using the current xdb_file...
 
--temas
 

----- Original Message ----- 
From: Stanley Kurdziel <mailto:skurdziel at leapwireless.com>  
To: jdev at jabber.org <mailto:jdev at jabber.org>  
Cc: Thanh Nguyen <mailto:thnguyen at leapwireless.com>  ; Charles
<mailto:cowen at leapwireless.com> Owen ; Stanley Kurdziel
<mailto:skurdziel at leapwireless.com>  
Sent: Thursday, July 12, 2001 7:41 PM
Subject: RE: [JDEV] Bug: Status messages truncated before quote char

Actually, I was composing an email regarding truncation of offline messages,
when I saw your email :-)
 
I am running jabber server 1.4.1 on Linux.
 
This problem only happens when the receiving user is offline, and is not
just restricted to status elements.   I noticed this problem during sending
regular messages.   Here's the problem's I observed:
1. Sending a message with <body>'message</body>   will end up with only
<body>&apos;</body> in the <username>.xml file
2. Sending a message with <body>"message</body>   will end up with only
<body>&quot;</body> in the <username>.xml file
3. Sending a message with <body>part1"part2</body>   will end up with only
<body>part1</body> in the <username>.xml file
4. Sending a message with <body>part1'part2</body>   will end up with only
<body>part1</body> in the <username>.xml file
 
Maybe it's a bug in xdb_file, since the messages are sent fine if both users
are online.
 
Interestingly, this does not happen on the jabber.org server...   Is
jabber.org using xdb_file?   or xdb_<something else>
Or has a fix been applied to jabber.org?
 
 
Thanks for any information,
 
-sek
 
 

-----Original Message-----
From: Jens Alfke [mailto:jens at mac.com]
Sent: Thursday, July 12, 2001 12:03 PM
To: jdev at jabber.org
Subject: [JDEV] Bug: Status messages truncated before quote char



I have noticed that status messages (i.e. <status> elements in a <presence>
element) containing a quote character are truncated before that character —
but only when forwarded by the server upon client login, not when they're
sent in real time to an already logged in client. 


I've verified that my client sends XML metachars properly to the server, and
that the problem exists in the raw XML received by the client, not in my XML
parsing. 


This is with the 1.4.1 server running on Solaris. Anyone else seen this? 


—Jens

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010713/49512611/attachment-0002.htm>


More information about the JDev mailing list