diff options
author | ubq323 <ubq323@ubq323.website> | 2022-05-13 21:46:16 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-05-13 21:46:16 +0100 |
commit | 6f5741731efac510336e2b5d512b4523b9d8da13 (patch) | |
tree | 1077add42b932ace8630f5de27421f8e626c4c3e /.gitignore | |
parent | 3644b35b92494965edb4916fdb368fd49c8d4bf2 (diff) |
fix permissions for view_post, and 404 instead of redirecting
previously it was possible to see posts you didn't have permissions
to view, by using /view_post/<id>. now, this checks permissions.
previously if a post with the given id did not exist, it would
redirect you back to /, with an error message. now, it gives
a 404 page, which is consistent with the behaviour when a thread
or forum with the given id is not found.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions