Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit c9c959d0e8e295ce42b79bddecc7822bd5513e9d 1 parent 8fb93b6
@spladug spladug authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  r2/r2/controllers/listingcontroller.py
View
2  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')
Please sign in to comment.
Something went wrong with that request. Please try again.