mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
Sanitize the module name and don't allow storing values for illegal
module names. Fixes #1898.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</tr>
|
||||
<? foreach ($vars as $var): ?>
|
||||
<tr class="setting-row <?= text::alternate("g-odd", "g-even") ?>">
|
||||
<td> <?= $var->module_name ?> </td>
|
||||
<td> <?= html::clean($var->module_name) ?> </td>
|
||||
<td> <?= html::clean($var->name) ?> </td>
|
||||
<td>
|
||||
<a href="<?= url::site("admin/advanced_settings/edit/$var->module_name/" . html::clean($var->name)) ?>"
|
||||
|
||||
Reference in New Issue
Block a user