summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-07-31 17:57:27 +0000
committerrandomdan <randomdan@localhost>2011-07-31 17:57:27 +0000
commit57dc4a7a3d8fb6259bb7f94dd16aed5c0076b50e (patch)
tree45f40dd6912c951ff9b6b205fee992e1c7b0c267
parentFix memory error handling the over encoding of xslRows (diff)
downloadproject2-57dc4a7a3d8fb6259bb7f94dd16aed5c0076b50e.tar.bz2
project2-57dc4a7a3d8fb6259bb7f94dd16aed5c0076b50e.tar.xz
project2-57dc4a7a3d8fb6259bb7f94dd16aed5c0076b50e.zip
Add missing resolveScript call in custom check handling
-rw-r--r--project2/cgi/cgiAppEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/cgi/cgiAppEngine.cpp b/project2/cgi/cgiAppEngine.cpp
index 2d20614..aa08559 100644
--- a/project2/cgi/cgiAppEngine.cpp
+++ b/project2/cgi/cgiAppEngine.cpp
@@ -60,7 +60,7 @@ CgiApplicationEngine::process() const
currentStage = currentStage.get<0>()->run();
}
catch (const CheckHost::CheckFailure & cf) {
- currentStage = NextStage(new PresentStage(_env, cf.failedCheck->present));
+ currentStage = NextStage(new PresentStage(_env, _env->resolveScript(_env->presentRoot, cf.failedCheck->present)));
}
catch (const XmlScriptParser::NotFound & nf) {
if (_env->notFoundPresent.empty() || triedNotFound) {