From 5eed24e22300180ae5172b836e070ce3175def86 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Thu, 9 Jan 2025 13:36:42 +0100 Subject: [PATCH] =?UTF-8?q?la=20g=C3=A9n=C3=A9ration=20de=20lien=20pour=20?= =?UTF-8?q?les=20albums=20priv=C3=A9s=20fonctionne=20de=20nouveau=20correc?= =?UTF-8?q?tement=20si=20le=20dossier=20comporte=20des=20caract=C3=A8res?= =?UTF-8?q?=20non-alphanum=C3=A9riques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arbre-prive.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arbre-prive.php b/arbre-prive.php index 975c3e6..bb0ef65 100644 --- a/arbre-prive.php +++ b/arbre-prive.php @@ -198,9 +198,9 @@ function generatePrivateTree($path, $currentPath) { if (!$hasSubfolders) { $output .= '🖼️'; if ($hasImages) { - $output .= ''; + $encodedPath = htmlspecialchars(addslashes($fullPath)); + $encodedTitle = htmlspecialchars(addslashes($info['title'])); + $output .= ''; } } if (!$hasSubfolders) {