fdfd
This commit is contained in:
parent
ea20a19339
commit
ca17f0da6b
7 changed files with 18 additions and 12 deletions
|
@ -35,8 +35,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.full_path: return redirect(f"/comment/{cid}")
|
||||
|
||||
if v and "logged_out" in request.full_path: v = None
|
||||
|
||||
try: cid = int(cid)
|
||||
except:
|
||||
try: cid = int(cid, 36)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue