layout/body: protect containers from renderLayout

IMO this should be stripped before, this is just an additional
security measure.

refs #6935
This commit is contained in:
Thomas Gelf 2014-08-19 10:10:23 +02:00
parent a333c3e57b
commit b5f336583f
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ if ($notifications->hasMessages()) {
</div>
<?php endif ?>
<div id="main" role="main">
<div id="col1" class="container<?= $moduleClass ?>"<?php if ($moduleName): ?> data-icinga-module="<?= $moduleName ?>" <?php endif ?> data-icinga-url="<?= Url::fromRequest() ?>"<?= $refresh ?> style="display: block">
<div id="col1" class="container<?= $moduleClass ?>"<?php if ($moduleName): ?> data-icinga-module="<?= $moduleName ?>" <?php endif ?> data-icinga-url="<?= Url::fromRequest()->without('renderLayout') ?>"<?= $refresh ?> style="display: block">
<?= $this->render('inline.phtml') ?>
</div>
<div id="col2" class="container">