VfsCatalog::VfsCatalog(const std::string& host, const std::string& prefix, const std::string &allow, const std::string &deny, const std::string allowWrite, const std::string denyWrite) throw (DmException): Catalog(),
- hostName_(host), prefix_(prefix)
+ hostName_(host)
{
this->allowRegex = vfsCompileRegex("Allow", allow);
this->denyRegex = vfsCompileRegex("Deny", deny);
this->denyWriteRegex = vfsCompileRegex("DenyWrite", denyWrite);
if (prefix.empty()) this->prefix_ = "";
+ else this->prefix_ = prefix;
}