Searched refs:allowed_dir (Results 1 – 1 of 1) sorted by relevance
163 for (const std::string& allowed_dir : allowed_directories_) { in InBannedDirectory() local166 assert(allowed_dir.front() == '/' && "Allowed dir must start with '/'"); in InBannedDirectory()167 assert(allowed_dir.back() == '/' && "Allowed dir must end with '/'"); in InBannedDirectory()169 if (filename.find(allowed_dir) != std::string::npos) in InBannedDirectory()