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