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
commit57760b39fa6c490acc6e4a730afa051883057dd8 (patch)
tree45f40dd6912c951ff9b6b205fee992e1c7b0c267
parentFix memory error handling the over encoding of xslRows (diff)
downloadproject2-57760b39fa6c490acc6e4a730afa051883057dd8.tar.bz2
project2-57760b39fa6c490acc6e4a730afa051883057dd8.tar.xz
project2-57760b39fa6c490acc6e4a730afa051883057dd8.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) {