This commit is contained in:
Aevann1 2021-08-13 03:55:23 +02:00
parent b704d4ab01
commit 4516e9b0f9
3 changed files with 8 additions and 0 deletions

View file

@ -34,6 +34,8 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
if not v and "logged_out" not in request.path: return redirect(f"/logged_out/comment/{cid}")
if v and "logged_out" in request.path: return redirect(f"/comment/{cid}")
try: cid = int(cid)
except:
try: cid = int(cid, 36)