Permalink
Browse files

Add security remove XSS

  • Loading branch information...
jmontoyaa committed Feb 18, 2016
1 parent 0784dc0 commit d24f81b60e0a788a1dea4272ebe4a342f8874623
Showing with 3 additions and 0 deletions.
  1. +3 −0 main/work/view.php
@@ -19,6 +19,9 @@
api_not_allowed(true);
}
$work['title'] = isset($work['title']) ? Security::remove_XSS($work['title']) : '';
$work['description'] = isset($work['description']) ? Security::remove_XSS($work['description']) : '';
$interbreadcrumb[] = array ('url' => 'work.php', 'name' => get_lang('StudentPublications'));
$my_folder_data = get_work_data_by_id($work['parent_id']);

0 comments on commit d24f81b

Please sign in to comment.