mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-10-29 18:02:27 +00:00
Improving RTTYS
This commit is contained in:
@@ -130,6 +130,8 @@ namespace OpenWifi {
|
|||||||
Path = RTTYS_server()->UIAssets() + Path;
|
Path = RTTYS_server()->UIAssets() + Path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cout << id << ": service path '" << Path << "'" << std::endl;
|
||||||
|
|
||||||
// simple test to block .. or ~ in path names.
|
// simple test to block .. or ~ in path names.
|
||||||
if(Path.find("../")!=std::string::npos) {
|
if(Path.find("../")!=std::string::npos) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user