← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 395400] Re: Hub lists fail to cache on Linux

 

** Also affects: airdcpp
   Importance: Undecided
       Status: New

** Changed in: airdcpp
       Status: New => Confirmed

** Changed in: airdcpp
   Importance: Undecided => Low

-- 
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++:
  Confirmed
Status in DC++:
  Confirmed

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