Ported fix to #17
This commit is contained in:
parent
50cced23df
commit
cb9ac61876
1 changed files with 5 additions and 0 deletions
|
|
@ -759,6 +759,11 @@ routes:
|
||||||
get "/t/@threadid/?@page?/?@postid?/?":
|
get "/t/@threadid/?@page?/?@postid?/?":
|
||||||
createTFD()
|
createTFD()
|
||||||
parseInt(@"threadid", c.threadId, -1..1000_000)
|
parseInt(@"threadid", c.threadId, -1..1000_000)
|
||||||
|
|
||||||
|
if c.threadId == unselectedThread:
|
||||||
|
# Thread has just been deleted.
|
||||||
|
redirect(uri("/"))
|
||||||
|
|
||||||
if @"page".len > 0:
|
if @"page".len > 0:
|
||||||
parseInt(@"page", c.pageNum, 0..1000_000)
|
parseInt(@"page", c.pageNum, 0..1000_000)
|
||||||
if @"postid".len > 0:
|
if @"postid".len > 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue