Searched refs:isValidConfigFileName (Results 1 – 2 of 2) sorted by relevance
/openbmc/bmcweb/test/include/ibm/ |
H A D | configfile_test.cpp | 19 EXPECT_TRUE(isValidConfigFileName("GoodConfigFile", res)); in TEST() 25 EXPECT_FALSE(isValidConfigFileName("Bad@file", res)); in TEST() 31 EXPECT_FALSE(isValidConfigFileName("/../../../../../etc/badpath", res)); in TEST() 32 EXPECT_FALSE(isValidConfigFileName("/../../etc/badpath", res)); in TEST() 33 EXPECT_FALSE(isValidConfigFileName("/mydir/configFile", res)); in TEST() 39 EXPECT_FALSE(isValidConfigFileName("", res)); in TEST() 45 EXPECT_FALSE(isValidConfigFileName("/", res)); in TEST() 50 EXPECT_FALSE(isValidConfigFileName("BadfileBadfileBadfile", res)); in TEST()
|
/openbmc/bmcweb/include/ibm/ |
H A D | management_console_rest.hpp | 388 inline bool isValidConfigFileName(const std::string& fileName, in isValidConfigFileName() function 467 if (!isValidConfigFileName(fileName, asyncResp->res)) in requestRoutes()
|