2
0
mirror of https://github.com/Znote/ZnoteAAC.git synced 2025-05-07 22:59:20 +02:00

gallery.php Title and description special chars are not escaped on output.

Only on input to database in the insert function.
Fixes ugly escaped text.
This commit is contained in:
Znote 2017-01-07 02:47:20 +01:00
parent ce043006ed
commit ee6841a12e

@ -23,8 +23,8 @@ if ($logged_in === true) {
foreach ($images as $img) {
$imageSrc = (string)$img['src'];
}
$title = sanitize($_POST['title']);
$desc = sanitize($_POST['desc']);
$title = $_POST['title'];
$desc = $_POST['desc'];
if ($imageSrc !== false) {