issue 1985 when insert db, add htmlspecialchars to menu name

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10899 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-07-16 04:45:10 +00:00
parent f653aea372
commit bb3ad0734f
2 changed files with 9 additions and 2 deletions

View file

@ -160,6 +160,11 @@
else
$args->name = $source_args->menu_name;
if(!strstr($args->name, '$user_lang->'))
{
$args->name = htmlspecialchars($args->name);
}
$args->url = trim($source_args->menu_url);
$args->open_window = $source_args->menu_open_window;
$args->expand = $source_args->menu_expand;