linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #07944
[Bug 395400] Re: Hub lists fail to cache on Linux
looks fine; feel free to push.
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/395400
Title:
Hub lists fail to cache on Linux
Status in AirDC++:
Fix Released
Status in DC++:
In Progress
Bug description:
Thrown: FileException: No such file or directory:
/home/steven/.dc++/HubLists/http_/hublist.openhublist.org/hublist.xml.bz2
This file cannot be created because it contains '/' in the filename
and the sub directories "http_" and "hublist.openhublist.org" do not
exist to create hublist.xml.bz2 in. The hub list URL needs to be
normalized to a form suitable for both Windows and Linux. For example:
http://hublist.openhublist.org/hublist.xml.bz2 ->
hublist.openhublist.org#hublist.xml.bz2
Or Util::validateFileName() needs to be split into
Util::validateFilePath() and Util::validateFileName() so that
validateFileName() can replace PATH_SEPARATORs in the name. This will
allow the hublist to be saved as
"http__hublist.openhublist.org_hublist.xml.bz2".
To manage notifications about this bug go to:
https://bugs.launchpad.net/airdcpp/+bug/395400/+subscriptions