[buddypress-trac] [BuddyPress Trac] #8953: Make sure to display a 404 if a Group’s URL has no match in registered screens

buddypress-trac noreply at wordpress.org
Wed Jul 26 05:04:53 UTC 2023


#8953: Make sure to display a 404 if a Group’s URL has no match in registered
screens
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  12.0.0
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13525" 13525]:
 {{{
 #!CommitTicketReference repository="" revision="13525"
 Display a 404 if a group’s URL has no matches in registered screens

 Introduces a `check_parsed_query()` method to the `BP_Groups_Component`
 class to make sure the requested group URL matches an existing &
 registered group screen.

 Fixes #8953
 Closes https://github.com/buddypress/buddypress/pull/138
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8953#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list