mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Use 403 instead of 404 on /liked etc. when votes are private.
This commit is contained in:
@@ -616,7 +616,7 @@ class UserController(ListingController):
|
||||
|
||||
if (where not in ('overview', 'submitted', 'comments')
|
||||
and not votes_visible(vuser)):
|
||||
return self.abort404()
|
||||
return self.abort403()
|
||||
|
||||
check_cheating('user')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user