--- parser3/src/classes/Attic/root.C 2001/03/10 11:03:47 1.7 +++ parser3/src/classes/Attic/root.C 2001/03/10 16:34:33 1.10 @@ -1,8 +1,13 @@ /* -$Id: root.C,v 1.7 2001/03/10 11:03:47 paf Exp $ + Parser + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan + + $Id: root.C,v 1.10 2001/03/10 16:34:33 paf Exp $ */ #include "pa_request.h" +#include "_root.h" static void _if(Request& r, Array *params) { bool condition= @@ -11,10 +16,10 @@ static void _if(Request& r, Array *param false/*don't make it string*/).get_bool(); if(condition) { Value& value=r.autocalc(*static_cast(params->get(1))); - r.wcontext->write(value); + r.wcontext->write(value, String::Untaint_lang::PASS_APPENDED); } else if(params->size()==3) { Value& value=r.autocalc(*static_cast(params->get(2))); - r.wcontext->write(value); + r.wcontext->write(value, String::Untaint_lang::PASS_APPENDED); } }