[Pidgin] #17226: Log file names and directories with %-symbols

Pidgin trac at pidgin.im
Sat Jul 1 21:34:09 EDT 2017

#17226: Log file names and directories with %-symbols
 Reporter:  dvpdgn  |      Owner:  rlaager
     Type:  defect  |     Status:  new
Milestone:  2.12.1  |  Component:  logging
  Version:  2.12.0  |   Keywords:  log telegram history
 Log file names and directories with %-symbols of Telegram account
 (protocol: telegram-purple plugin).

 Locating telegram account, it is named: "\logs\%2b<here-your-number>"
 %2b means +<here-your-number>

 Going deeper: "\logs\%2b<here-your-number>\%21%20John%20Doe\"
 that in practice means secret chat with "! John Doe"

 Who is returning symbols from 0 to 48 (ascii) as %-format? Probably, you
 need to make this range smaller.

 Available chars on Windows FS (FAT*, NTFS):
 * all from 0x20 (32) to 0x2F (47), except: 22h ("), 2Ah (*), 2Fh (/)
 * all from 0x3B (59) to 0x3E (62), except: 3Ah (:), 3Ch (<), 3Eh (>), 3Fh

 I.e. all symbols from 0x20 to 0x3F maybe used except these list (they must
 be converted to % or changed to "_" for example): 22h ("), 2Ah (*), 2Fh
 (/), 3Ah (:), 3Ch (<), 3Eh (>), 3Fh (?).

 Correct path names will be (just sample):
 "\logs\+12345678912\! John Doe\"

 * pidgin-2.12.0-offline.exe
 * telegram-purple-1.3.0rev2.exe

Ticket URL: <https://developer.pidgin.im/ticket/17226>
Pidgin <https://pidgin.im>

More information about the Tracker mailing list