summaryrefslogtreecommitdiff
path: root/lib/exe/fetch.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-02-24 20:34:32 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-02-24 20:34:32 +0100
commitc6f610ef3c4f586d8f535f2a30e29c310bb9b125 (patch)
tree9267b4bb64c81ed08a93356f73e29ffa3db1df9f /lib/exe/fetch.php
parent032933052326cab7864caafa674a9253814e1a17 (diff)
downloadrpg-c6f610ef3c4f586d8f535f2a30e29c310bb9b125.tar.gz
rpg-c6f610ef3c4f586d8f535f2a30e29c310bb9b125.tar.bz2
Send 403 instead of 401 in fetch.php FS#1904
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r--lib/exe/fetch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index 81a8903c9..968ee9436 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -176,7 +176,7 @@ function checkFileStatus(&$media, &$file) {
//check permissions (namespace only)
if(auth_quickaclcheck(getNS($media).':X') < AUTH_READ){
- return array( 401, 'Unauthorized' );
+ return array( 403, 'Forbidden' );
}
$file = mediaFN($media);
}