list.tpl:

- 'itemkey' escaping again. I found another corner case that was broken
  with |escape:"html". Therefore switch to the exact htmlentities() call
  that we use in smarty.inc.php.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1827 a1433add-5e2c-0410-b055-b7f2511e0802
pull/11/head
Christian Boltz 8 years ago
parent 48dde6468a
commit 2102c1baa8

@ -52,7 +52,7 @@
</tr>
{foreach key=itemkey from=$RAW_items item=RAW_item}
{assign "item" $items.${itemkey|escape:"html"}} {* array keys in $items are html-escaped *}
{assign "item" $items.{htmlentities($itemkey, $smarty.const.ENT_QUOTES, 'UTF-8', false)}} {* array keys in $items are escaped using htmlentities(), see smarty.inc.php *}
{#tr_hilightoff#}
{foreach key=key item=field from=$struct}

Loading…
Cancel
Save