mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-11 00:29:19 +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:
parent
ce043006ed
commit
ee6841a12e
@ -23,8 +23,8 @@ if ($logged_in === true) {
|
|||||||
foreach ($images as $img) {
|
foreach ($images as $img) {
|
||||||
$imageSrc = (string)$img['src'];
|
$imageSrc = (string)$img['src'];
|
||||||
}
|
}
|
||||||
$title = sanitize($_POST['title']);
|
$title = $_POST['title'];
|
||||||
$desc = sanitize($_POST['desc']);
|
$desc = $_POST['desc'];
|
||||||
|
|
||||||
if ($imageSrc !== false) {
|
if ($imageSrc !== false) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user