From 57760b39fa6c490acc6e4a730afa051883057dd8 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sun, 31 Jul 2011 17:57:27 +0000 Subject: Add missing resolveScript call in custom check handling --- project2/cgi/cgiAppEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3