linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #08105
[Bug 1317287] Re: Filelist Download Failure From Specific Usernames
Indeed, I recommend the less complicated choice. The code is already
divided there and if you check what part I am talking about you'll see
you can't make it universal even if DC++ goes multiplatform sometime.
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1317287
Title:
Filelist Download Failure From Specific Usernames
Status in ApexDC++ - The Pinnacle of File-Sharing:
New
Status in DC++:
Confirmed
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://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words)
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/apexdc/+bug/1317287/+subscriptions
References