diff --git a/images/images.php b/images/images.php index 5c7b2bc..8bc7fe9 100644 --- a/images/images.php +++ b/images/images.php @@ -30,9 +30,9 @@ while (($file = readdir($dir)) !== false) { $filetype = substr($file, -3); if (preg_match('/(png|gif|jpe?g)/i', $filetype)) { - $imageurl = $prot . '://' . $host . $root . '/image.php?user=' . $user . '&image=' . $file; + $imageurl = $prot . '://' . $host . $root . '/image.php?user=' . $user . '&image=' . urlencode($file); echo '