merge hugo5 with script cgi tests

This commit is contained in:
Hugo LAMY
2022-08-17 18:26:06 +02:00
26 changed files with 628 additions and 133 deletions

View File

@@ -221,11 +221,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);
}