licq-im / licq

An instant messaging client for UNIX
http://www.licq.org/
16 stars 4 forks source link

URL does damaged when it sent to offline user. #29

Open asy972 opened 11 years ago

asy972 commented 11 years ago

URL received damaged if it sent to offline. For examle: http://www.linux.org.ru/forum received as li?u?.org.r?/forum/

I can not say exactly when it began. URL that is sent to online user received properly through server or directly.

00:43:02.665 [DBG] icq: Packet (SRV, 182 bytes) received: (10.1.1.139:57956 <- 64.12.30.99:5190) 0000: 2A 02 12 20 00 B0 00 04 00 07 00 00 99 19 C8 3C *.. ...........< 0010: 00 00 00 00 00 00 00 00 00 01 08 31 39 34 34 34 ...........19444 0020: 30 39 32 00 00 00 03 00 01 00 02 00 51 00 0C 00 092.........Q... 0030: 25 00 00 00 00 00 00 00 00 06 00 07 00 00 00 00 %............... 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0050: 00 00 00 00 00 00 00 03 00 04 51 31 13 1E 00 02 ..........Q1.... 0060: 00 20 05 01 00 01 01 01 01 00 17 00 00 00 00 6C . .............l 0070: 69 3F 75 3F 2E 6F 72 67 2E 72 3F 2F 66 6F 72 75 i?u?.org.r?/foru 0080: 6D 2F 00 24 00 24 61 31 32 62 63 63 61 34 2D 38 m/.$.$a12bcca4-8 0090: 32 62 30 2D 31 31 65 32 2D 62 66 31 34 2D 35 37 2b0-11e2-bf14-57 00A0: 65 61 34 37 33 62 66 63 37 62 00 16 00 04 51 31 ea473bfc7b....Q1 00B0: 12 DE 00 06 00 00 ......
00:43:02.665 [INF] icq: Message through server from ---- (---------).

flynd commented 11 years ago

Was the URL sent from Licq or from another client?

asy972 commented 11 years ago

Sender's client can be any. But I did an experiment today and I do not quite understand the result: user with another UIN received offline messages properly. LIcq 1.6.1 on one computer with two users used for experiment (1.7.1 has problem also). It is tied to UIN possible but I received properly messages by kopete...

flynd commented 11 years ago

The received packet clearly shows the URL already broken so this seems to be a problem at the sender side. Could you grab a dump of an outgoing message where this happens? I would like to verify that the server didn't change the message along the way.

asy972 commented 11 years ago

I did some additional tests. Obviously, the message changes on the server. I can not understand in which cases the server changes the message and why it depends on the UIN.

Server changes a message when I use kopete also, but in a different way: html tags are added by server: < HTML>< BODY>url< /BODY>< /HTML>