Searched refs:userpath (Results 1 – 2 of 2) sorted by relevance
798 static int validate_path(char *outpath, const char *userpath, in validate_path() argument801 size_t i, pathlen = strlen(userpath); in validate_path()803 if (!pathlen || userpath[pathlen] == '/' || strstr(userpath, "//")) { in validate_path()807 if (!strchr(XS_VALID_CHARS, userpath[i])) { in validate_path()811 if (userpath[0] == '/') { in validate_path()815 memcpy(outpath, userpath, pathlen + 1); in validate_path()821 userpath); in validate_path()
1736 for (const auto& userpath : users) in handleAccountCollectionGet() local1738 std::string user = userpath.first.filename(); in handleAccountCollectionGet()