[Pidgin] #14319: GG number should be trimmed when adding new buddy

Pidgin trac at pidgin.im
Tue Jun 21 14:46:47 EDT 2011


#14319: GG number should be trimmed when adding new buddy
-------------------+--------------------------------------------------------
Reporter:  m1dyyy  |        Type:  enhancement                                  
  Status:  new     |   Component:  Gadu-Gadu                                    
 Version:  2.8.0   |    Keywords:  gg gadu number newline crlf disconnect socket
-------------------+--------------------------------------------------------
 Pidgin should trim Gadu-Gadu number.

 Many users copy 'n' paste user numbers instead writing it manually.

 When I tried to send message to my friend - Pidgin shows "cannot read from
 socket" error and after a while it reconnects. When problem occurs it's
 hard to find out what's wrong.

 Steps to reproduce:

 1. Open Notepad[[BR]]
 2. Write down number[[BR]]
 3. '''Press enter'''[[BR]]
 4. Ctrl+A [number+CRLF][[BR]]
 5. Ctrl+C[[BR]]
 6. Open Pidgin Contact List[[BR]]
 7. Press Ctrl+B [Add Buddy][[BR]]
 8. Ctrl+V [number + CRLF][[BR]]
 9. Save it[[BR]]
 10. Try to send a message to that number[[BR]]
 11. Pidgin shows 'Cannot read from socket' error and after that
 reconnects.[[BR]]

 After checking blist.xml file I noticed that number has appended CRLF
 after that, It looked like this:
 <name>3517304[[BR]]
 </name>

 I removed redundant CRLF after number and problem disappeared.

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


More information about the Tracker mailing list