|
By:
richard
Rank: Starfleet Ensign
Postings: 17
From: Australia
|
Forums such as linuxquestions use the thread title to form a "pretty" URL, such as: http://pyforum.org/pyforum/default/view_topic/465/page-title-normalized-here That exact form would not work because request.args[1] is used for subscriptions, but something similar would be good.
Also if I try accessing a topic ID that does not exist or is not a number then I get an error because the controller uses: topic_id = int(request.args[0]) topic = db(db.zf_topic.id==topic_id).select()[0] How about redirecting to a "Topic not found" page.
All this applies to forums too.
|
|
By:
chriswolf1
Rank: Starfleet Ensign
Postings: 1
From: Unknown
|
I confirm this - if a bad URL is submitted then an error page is displayed, with "Internal Error"
|