Merge branch 'ent-9729-xss-en-busqueda-de-libreria-de-modulos' into 'develop'

Fix module library XSS

See merge request artica/pandorafms!5233
This commit is contained in:
Daniel Rodriguez 2022-10-31 14:12:46 +00:00
commit d99ccaba9e
1 changed files with 3 additions and 1 deletions

View File

@ -154,8 +154,10 @@ $(document).ready(function() {
if (selector == "search") {
$("#search_title_result h2").append(
"<span class='pandora_green_text'>" + search_modules + "</span>"
"<span class='pandora_green_text' id='search_string'></span>"
);
$("#search_string").text(search_modules);
}
if (total_posts < 1) {