summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/cgi/cgiStageRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/cgi/cgiStageRequest.cpp b/project2/cgi/cgiStageRequest.cpp
index a050146..e649551 100644
--- a/project2/cgi/cgiStageRequest.cpp
+++ b/project2/cgi/cgiStageRequest.cpp
@@ -21,7 +21,7 @@ CgiApplicationEngine::RequestStage::run()
{
runChecks();
executeTasks();
- return NextStage(present.empty() ? NULL : new PresentStage(e, present), this);
+ return NextStage(present.empty() ? NULL : new PresentStage(e, e->resolveScript(e->presentRoot, present)), this);
}
const std::string contentType = "text/plain";