seasketch / next

A modernization version of the SeaSketch platform, released in 2022.
https://seasketch.org
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Limit incorrect url construction in the forums #718

Open underbluewaters opened 4 months ago

underbluewaters commented 4 months ago

Confusing situations can occur if someone manually edits forum urls. For example, if someone is looking at a forum topic, they can edit the topic id in the url to refer to another project. In this case they will see the messages for this unrelated topic appearing as if they are hosted in the wrong project. Authorization is still evaluated properly so it's not really a security concern, but it is very confusing. There needs to be some changes in the client made to the topic and messages lists to account for this issue.

Screenshot 2024-03-04 at 10 51 25 AM