started non hardcoded cgi call

This commit is contained in:
Me
2022-08-12 16:20:50 +02:00
parent 52824f30bd
commit cade79c37f
4 changed files with 24 additions and 17 deletions

View File

@@ -213,6 +213,8 @@ bool Client::fill_script_path(std::string script)
if (pos == 0)
{
tmp = path.substr(0, pos + len);
_request.script.path = "./srcs" + tmp; // TODO: root path ?
_request.script.path = "./srcs" + tmp; // TODO: root path ?
_request.script.info = path.substr(pos + len);
return true;