|
@@ -16,7 +16,7 @@ if (!$dirinfo) {
|
|
$images = get_dir_images($dir, $mode);
|
|
$images = get_dir_images($dir, $mode);
|
|
$content = '';
|
|
$content = '';
|
|
foreach ($images as $image) {
|
|
foreach ($images as $image) {
|
|
- $path = urlencode($image['path']);
|
|
|
|
|
|
+ $path = rawurlencode($image['path']);
|
|
$content .= '<a href="image.php?dir='.$dir.'&file='.$path;
|
|
$content .= '<a href="image.php?dir='.$dir.'&file='.$path;
|
|
if ($mode) {
|
|
if ($mode) {
|
|
$content .= '&mode=' . urlencode($mode);
|
|
$content .= '&mode=' . urlencode($mode);
|