dfdf
This commit is contained in:
parent
b704d4ab01
commit
4516e9b0f9
3 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue