From d00e3246799db2524d9f28a7ccc2fac178cd20b5 Mon Sep 17 00:00:00 2001 From: adjoly Date: Tue, 15 Jul 2025 20:30:21 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20some=20things.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/requests_handling/Cgi.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/requests_handling/Cgi.cpp b/src/requests_handling/Cgi.cpp index a7c19d2..faf6e1d 100644 --- a/src/requests_handling/Cgi.cpp +++ b/src/requests_handling/Cgi.cpp @@ -6,7 +6,7 @@ /* By: gadelbes +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/04/24 13:46:34 by gadelbes #+# #+# */ -/* Updated: 2025/07/15 20:28:18 by adjoly ### ########.fr */ +/* Updated: 2025/07/15 20:29:46 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -170,8 +170,6 @@ void Cgi::process(void) { dir = target.substr(0, pos + 1); chdir((_request->getRoute()->getRootDir() + dir).c_str()); - std::cerr << _request->getRoute()->getRootDir() + dir << std::endl; - std::cerr << _script_path << std::endl; char * argv[] = {const_cast(_script_path.c_str()), NULL}; char **env = _genEnv(); _script_path = target.substr(pos + 1);