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