Filelist Download Failure From Specific Usernames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ApexDC++ |
New
|
Undecided
|
Unassigned | ||
DC++ |
Confirmed
|
Low
|
Unassigned |
Bug Description
There is an issue with DC++ when a user chooses a nickname that happens to be a Windows Reserved Keyword. For example, if a user chooses a nickname from the following list:
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 (Reference: http://
a Windows user trying to download the filelist from a user with one of these nicks will fail because the filename is in the format of *nick*.xml.bz2 (ex. "aux.xml.bz2"), which is disallowed under Windows. When DC++ attempts to write the remote user's filelist to disk, the download will hang because Windows blocks the writing of this file to disk. There is no error message displayed to the user during this process and the reasons for the download to hang are not clearly apparent. The person that is using this nick will have no issues, because their filelist is named files.xml.bz2 which is allowed.
Ideally, the above list would be disallowed as a username so that Windows users can download their filelists. Other clients would need to adopt this blacklist as well to be good net citizens towards Windows users.
Alternatively, the filelist could be renamed to avoid conflicting with these keywords by appending/ prepending additional characters to the filename ex: dc_nickname.xml.bz2