diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-02-24 20:34:32 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-02-24 20:34:32 +0100 |
commit | c6f610ef3c4f586d8f535f2a30e29c310bb9b125 (patch) | |
tree | 9267b4bb64c81ed08a93356f73e29ffa3db1df9f /lib | |
parent | 032933052326cab7864caafa674a9253814e1a17 (diff) | |
download | rpg-c6f610ef3c4f586d8f535f2a30e29c310bb9b125.tar.gz rpg-c6f610ef3c4f586d8f535f2a30e29c310bb9b125.tar.bz2 |
Send 403 instead of 401 in fetch.php FS#1904
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exe/fetch.php | 2 |
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); } |