Added object's DN escape in links's URL

This commit is contained in:
Benjamin Renard 2012-05-03 12:37:26 +02:00
parent 0c0fe4fb77
commit 3b01977d3c

View file

@ -1,5 +1,5 @@
{if $dn}
<a href='view.php?LSobject={$selectableObject}&amp;dn={$dn}' class='LSformElement_select_object'>{$txt}</a>
<a href='view.php?LSobject={$selectableObject}&amp;dn={$dn|escape:'url'}' class='LSformElement_select_object'>{$txt}</a>
{if !$freeze}<input type='hidden' class='LSformElement_select_object' name='{$attr_name}[]' value='{$dn}' />{/if}
{else}
{$noValueTxt}