diff --git a/workflow/engine/classes/class.processMap.php b/workflow/engine/classes/class.processMap.php index 233e6a933..f3678406e 100755 --- a/workflow/engine/classes/class.processMap.php +++ b/workflow/engine/classes/class.processMap.php @@ -2356,7 +2356,11 @@ class processMap $G_PUBLISH->AddContent('propeltable', 'paged-table', '/cases/cases_Scheduler_List', $oCriteria, array('CONFIRM' => G::LoadTranslation('ID_MSG_CONFIRM_DELETE_CASE_SCHEDULER'))); G::RenderPage('publish'); //return true; */ + G::LoadSystem('inputfilter'); + $filter = new InputFilter(); $schedulerPath = SYS_URI . "cases/cases_Scheduler_List"; + $schedulerPath = $filter->xssFilterHard($schedulerPath); + $sProcessUID = $filter->xssFilterHard($sProcessUID); $html = ""; echo $html; } catch (Exception $oError) { diff --git a/workflow/engine/classes/class.propelTable.php b/workflow/engine/classes/class.propelTable.php index a412e5bac..afdf59f4b 100755 --- a/workflow/engine/classes/class.propelTable.php +++ b/workflow/engine/classes/class.propelTable.php @@ -559,7 +559,13 @@ class propelTable * @return string */ public function renderTable ($block = '', $fields = '') - { + { + G::LoadSystem('inputfilter'); + $filter = new InputFilter(); + $fields = $filter->xssFilterHard($fields); + $this->orderBy = $filter->xssFilterHard($this->orderBy); + $this->currentPage = $filter->xssFilterHard($this->currentPage); + //Render Title $thereisnotitle = true; foreach ($this->fields as $r => $rval) { @@ -603,6 +609,11 @@ class propelTable $this->tpl->assign( 'pagedTable_Name', $this->name ); $this->tpl->assign( 'pagedTable_Height', $this->xmlForm->height ); $this->tpl->assign( "title", $this->title ); + + $this->xmlForm->home = $filter->xssFilterHard($this->xmlForm->home); + $this->filterForm = $filter->xssFilterHard($this->filterForm); + $this->menu = $filter->xssFilterHard($this->menu); + if (file_exists( $this->xmlForm->home . $this->filterForm . '.xml' )) { $filterForm = new filterForm( $this->filterForm, $this->xmlForm->home ); if ($this->menu === '') { @@ -839,6 +850,12 @@ class propelTable } $this->tpl->assign( "pagesEnum", $pagesEnum ); } + + $this->name = $filter->xssFilterHard($this->name); + $this->orderBy = $filter->xssFilterHard($this->orderBy); + $this->currentPage = $filter->xssFilterHard($this->currentPage); + $this->id = $filter->xssFilterHard($this->id); + ?>