mirror of
https://github.com/claradex/nativegallery.git
synced 2024-12-22 16:41:04 +03:00
Уязвимость была слишком залечена
фикс баги с <br> в био профиля
This commit is contained in:
parent
2c5f42d4d3
commit
29c70995bc
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Update
|
|||
}
|
||||
|
||||
if (strpos($key, 'OnMain') === false) {
|
||||
$dataArray[$paramKey]['value'] = htmlentities($value);
|
||||
$dataArray[$paramKey]['value'] = strip_tags($value, ['br']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue