$t->show(); exit; } $id = $_GET['id']; if (!in_array($id, $aggregators->getOptions())) { throw new SimpleSAML_Error_NotFound('No aggregator with id ' . var_export($id, TRUE) . ' found.'); } $aConfig = $aggregators->getConfigItem($id); $aggregator = new sspmod_aggregator_Aggregator($gConfig, $aConfig, $id); if (isset($_REQUEST['set'])) { $aggregator->limitSets($_REQUEST['set']); } if (isset($_REQUEST['exclude'])) { $aggregator->exclude($_REQUEST['exclude']); } $md = $aggregator->getSources(); $attributemap = NULL; if (isset($_REQUEST['attributemap'])) { $attributemap = $_REQUEST['attributemap']; } $prefix = ''; if (isset($_REQUEST['prefix'])) { $prefix = $_REQUEST['prefix']; } $suffix = ''; if (isset($_REQUEST['suffix'])) { $suffix = $_REQUEST['suffix']; } /* Make sure that the request isn't suspicious (contains references to current * directory or parent directory or anything like that. Searching for './' in the * URL will detect both '../' and './'. Searching for '\' will detect attempts to