[Bb-trac] [bbPress] #979: 1.0a2 404's on empty url queries

bbPress bb-trac at lists.bbpress.org
Wed Oct 15 06:47:10 GMT 2008


#979: 1.0a2 404's on empty url queries
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:                    
     Type:  defect    |      Status:  new               
 Priority:  low       |   Milestone:  1.0-beta & XML-RPC
Component:  Back-end  |     Version:  1.0-alpha-2       
 Severity:  minor     |    Keywords:                    
----------------------+-----------------------------------------------------
 I don't have time to investigate this and I suspect it's because of
 something new, perhaps with allowing custom pages to be added, but bbPress
 1.0a2 fails to it's pseudo 404 when an empty query is passed.

 ie.  http://example.com/forum/?

 strangely, it doesn't fail when a random query is passed

 ie.  http://example.com/forum/?testing

 I would bet this is because the empty query somehow make it to the topic
 parser and ends up with topic id #0 but this is just a complete guess. So
 if it's easy to fix, please allow an empty query to be ignored/passed.

 (Yes I know an empty query is probably a sign of bad code but it's a
 shortcut I've used in the past for various reasons)

-- 
Ticket URL: <http://trac.bbpress.org/ticket/979>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list