more script tests
+ add cgi checks for error in script output + fix script_path relative to absolute + cgi makefile more efficient
This commit is contained in:
@@ -220,11 +220,6 @@ void Client::fill_script_path(std::string &path, size_t pos)
|
||||
{
|
||||
std::string tmp;
|
||||
|
||||
if (path[0] == '.')
|
||||
{
|
||||
path.erase(0, 1);
|
||||
pos--;
|
||||
}
|
||||
_request.script.path = path.substr(0, pos);
|
||||
_request.script.info = path.substr(pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user