diff --git a/mod/proxy.php b/mod/proxy.php index 4d53c9801c..f2a7c30eac 100644 --- a/mod/proxy.php +++ b/mod/proxy.php @@ -306,7 +306,7 @@ function proxy_url($url, $writemode = false, $size = '') { // Too long files aren't supported by Apache // Writemode in combination with long files shouldn't be possible if ((strlen($proxypath) > 250) AND $writemode) { - return hash('md5', $url); + return $shortpath; } elseif (strlen($proxypath) > 250) { return $a->get_baseurl() . '/proxy/' . $shortpath . '?url=' . urlencode($url); } elseif ($writemode) {