Permalink
Browse files

Use 403 instead of 404 on /liked etc. when votes are private.

  • Loading branch information...
1 parent 8fb93b6 commit c9c959d0e8e295ce42b79bddecc7822bd5513e9d @spladug spladug committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 r2/r2/controllers/listingcontroller.py
@@ -616,7 +616,7 @@ def GET_listing(self, where, vuser, sort, time, **env):
if (where not in ('overview', 'submitted', 'comments')
and not votes_visible(vuser)):
- return self.abort404()
+ return self.abort403()
check_cheating('user')

0 comments on commit c9c959d

Please sign in to comment.