mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
yparser: remove useless halfhearted script-check
Origin commit data
------------------
Branch: ni/coolstream
Commit: 799fe4b78a
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-29 (Fri, 29 Jan 2016)
Origin message was:
------------------
- yparser: remove useless halfhearted script-check
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -528,10 +528,14 @@ std::string CyParser::YWeb_cgi_cmd(CyhookHandler *hh, std::string ycmd) {
|
|||||||
} else
|
} else
|
||||||
yresult = "ycgi-type unknown";
|
yresult = "ycgi-type unknown";
|
||||||
} else if (!hh->ParamList[ycmd].empty()) {
|
} else if (!hh->ParamList[ycmd].empty()) {
|
||||||
|
#if 0
|
||||||
if ((hh->ParamList[ycmd]).find("script") == std::string::npos)
|
if ((hh->ParamList[ycmd]).find("script") == std::string::npos)
|
||||||
yresult = hh->ParamList[ycmd];
|
yresult = hh->ParamList[ycmd];
|
||||||
else
|
else
|
||||||
yresult = "<!--Not Allowed script in " + ycmd + " -->";
|
yresult = "<!--Not Allowed script in " + ycmd + " -->";
|
||||||
|
#else
|
||||||
|
yresult = hh->ParamList[ycmd];
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return yresult;
|
return yresult;
|
||||||
|
Reference in New Issue
Block a user