[Pidgin] #10846: Sending URL results in empty message

Pidgin trac at pidgin.im
Mon Nov 30 06:17:55 EST 2009


#10846: Sending URL results in empty message
-----------------------+----------------------------------------------------
 Reporter:  Thomas7C0  |     Owner:  deryni
     Type:  defect     |    Status:  new   
Component:  XMPP       |   Version:  2.6.4 
 Keywords:  XMPP URL   |  
-----------------------+----------------------------------------------------
 SunSpider JavaScript Benchmark:
 [http://www2.webkit.org/perf/sunspider-0.9/sunspider.html]


 After this benchmark I get a results URL like this:
 [http://www2.webkit.org/perf/sunspider-0.9/sunspider-results.html?%7B
 %223d-cube%22:%5B50,52,51,53,52%5D,%223d-morph%22:%5B62,58,61,61,61%5D
 ,%223d-raytrace%22:%5B83,75,89,85,85%5D,%22access-binary-
 trees%22:%5B45,46,51,46,47%5D,%22access-fannkuch%22:%5B70,70,74,70,70%5D
 ,%22access-nbody%22:%5B28,28,28,28,28%5D,%22access-
 nsieve%22:%5B14,15,14,14,14%5D,%22bitops-3bit-bits-in-
 byte%22:%5B2,2,2,2,2%5D,%22bitops-bits-in-byte%22:%5B10,10,10,10,10%5D
 ,%22bitops-bitwise-and%22:%5B2,3,3,2,3%5D,%22bitops-nsieve-
 bits%22:%5B28,29,29,29,28%5D,%22controlflow-
 recursive%22:%5B42,42,42,42,43%5D,%22crypto-aes%22:%5B38,38,41,40,40%5D
 ,%22crypto-md5%22:%5B19,19,21,19,19%5D,%22crypto-
 sha1%22:%5B10,10,10,11,10%5D,%22date-format-
 tofte%22:%5B111,106,111,112,86%5D,%22date-format-
 xparb%22:%5B108,105,99,109,112%5D,%22math-cordic%22:%5B35,34,35,35,35%5D
 ,%22math-partial-sums%22:%5B18,18,18,18,18%5D,%22math-spectral-
 norm%22:%5B8,8,9,8,8%5D,%22regexp-dna%22:%5B98,96,108,114,103%5D
 ,%22string-base64%22:%5B20,20,20,19,20%5D,%22string-
 fasta%22:%5B90,84,86,88,90%5D,%22string-
 tagcloud%22:%5B106,103,106,90,90%5D,%22string-unpack-
 code%22:%5B151,141,141,150,143%5D,%22string-validate-
 input%22:%5B49,46,46,48,51%5D%7D]


 If I send this URL to an ICQ-Buddy, the other side gets it flawlessly, but
 sending it to a XMPP-Buddy results in an empty message like: (11:55:19)
 Thomas:
 There is no character, not even a space character.

 In the Debug Window I see this in red:
 {{{
 (11:55:17) xmlnode: XML parser error for xmlnode 0553FB48: Domain 1, code
 38, level 3: Unescaped '<' not allowed in attributes values
 (11:55:17) xmlnode: XML parser error for xmlnode 0553FB48: Domain 1, code
 65, level 3: attributes construct error
 (11:55:17) xmlnode: XML parser error for xmlnode 0553FB48: Domain 1, code
 73, level 3: Couldn't find end of Start Tag a line 1
 (11:55:17) xmlnode: XML parser error for xmlnode 0553FB48: Domain 1, code
 76, level 3: Opening and ending tag mismatch: body line 1 and a
 (11:55:17) xmlnode: XML parser error for xmlnode 0553FB48: Domain 1, code
 76, level 3: Opening and ending tag mismatch: html line 1 and a
 (11:55:17) xmlnode: XML parser error for xmlnode 0553FB48: Domain 1, code
 5, level 3: Extra content at the end of the document
 (11:55:17) jabber: XHTML translation/validation failed, returning: <html
 xmlns='http://jabber.org/protocol/xhtml-im'><body
 xmlns='http://www.w3.org/1999/xhtml'><a
 href="http://www2.webkit.org/perf/sunspider-0.9/sunspider-results.html?%7B
 %223d-cube%22:%5B50,52,51,53,52%5D,%223d-morph%22:%5B62,58,61,61,61%5D
 ,%223d-raytrace%22:%5B83,75,89,85,85%5D,%22access-binary-
 trees%22:%5B45,46,51,46,47%5D,%22access-fannkuch%22:%5B70,70,74,70,70%5D
 ,%22access-nbody%22:%5B28,28,28,28,28%5D,%22access-
 nsieve%22:%5B14,15,14,14,14%5D,%22bitops-3bit-bits-in-
 byte%22:%5B2,2,2,2,2%5D,%22bitops-bits-in-byte%22:%5B10,10,10,10,10%5D
 ,%22bitops-bitwise-and%22:%5B2,3,3,2,3%5D,%22bitops-nsieve-
 bits%22:%5B28,29,29,29,28%5D,%22controlflow-
 recursive%22:%5B42,42,42,42,43%5D,%22crypto-aes%22:%5B38,38,41,40,40%5D
 ,%22crypto-md5%22:%5B19,19,21,19,19%5D,%22crypto-
 sha1%22:%5B10,10,10,11,10%5D,%22date-format-
 tofte%22:%5B111,106,111,112,86%5D,%22date-format-
 xparb%22:%5B108,105,99,109,112%5D,%22math-cordic%22:%5B35,34,35,35,35%5D
 ,%22math-partial-sums%22:%5B18,18,18,18,18%5D,%22math-spectral-
 norm%22:%5B8,8,9,8,8%5D,%22regexp-dna%22:%5B98,96,108,114,103%5D
 ,%22string-base64%22:%5B20,20,20,19,20%5D,%22string-
 fastahttp://www2.webkit.org/perf/sunspider-0.9/sunspider-results.html?%7B
 %223d-cube%22:%5B50,52,51,53,52%5D,%223d-morph%22:%5B62,58,61,61,61%5D
 ,%223d-raytrace%22:%5B83,75,89,85,85%5D,%22access-binary-
 trees%22:%5B45,46,51,46,47%5D,%22access-fannkuch%22:%5B70,70,74,70,70%5D
 ,%22access-nbody%22:%5B28,28,28,28,28%5D,%22access-
 nsieve%22:%5B14,15,14,14,14%5D,%22bitops-3bit-bits-in-
 byte%22:%5B2,2,2,2,2%5D,%22bitops-bits-in-byte%22:%5B10,10,10,10,10%5D
 ,%22bitops-bitwise-and%22:%5B2,3,3,2,3%5D,%22bitops-nsieve-
 bits%22:%5B28,29,29,29,28%5D,%22controlflow-
 recursive%22:%5B42,42,42,42,43%5D,%22crypto-aes%22:%5B38,38,41,40,40%5D
 ,%22crypto-md5%22:%5B19,19,21,19,19%5D,%22crypto-
 sha1%22:%5B10,10,10,11,10%5D,%22date-format-
 tofte%22:%5B111,106,111,112,86%5D,%22date-format-
 xparb%22:%5B108,105,99,109,112%5D,%22math-cordic%22:%5B35,34,35,35,35%5D
 ,%22math-partial-sums%22:%5B18,18,18,18,18%5D,%22math-spectral-
 norm%22:%5B8,8,9,8,8%5D,%22regexp-dna%22:%5B98,96,108,114,103%5D
 ,%22string-base64%22:%5B20,20,20,19,20%5D,%22string-
 fasta%22:%5B90,84,86,88,90%5D,%22string-
 tagcloud%22:%5B106,103,106,90,90%5D,%22string-unpack-
 code%22:%5B151,141,141,150,143%5D,%22string-validate-
 input%22:%5B49,46,46,48,51%5D%7D</a>"></a></body></html>
 }}}




 In previous versions (I think <2.6.0, with 2.5.5 it works) there are no
 problems sending such long/complex URLs.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10846>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list