diff --git a/services/getfile.php b/services/getfile.php index af78ea3e6..3d9521038 100644 --- a/services/getfile.php +++ b/services/getfile.php @@ -120,12 +120,11 @@ else $uri = "http://" . $_SERVER['HTTP_HOST'] . "/" . $uri; - wp_redirect($uri); + wp_safe_redirect($uri); exit; } //okay show the file header("Content-type: " . $file_mimetype); readfile($filename); - exit; -?> + exit; \ No newline at end of file