Detailled 404 for category page

Even with detailed 404 setting enabled, following a category page ( or does not link for a custom 404 page, the same way clicking on a post page ( does. Or am I missing something ?

Is this the intended behaviour ?

IMHO, the custom page for the category/subcategory is even more important than for the post (there is less risk to acknowledge the existence of the category than the post, plus the custom page would link directly to the group in question). So i would suggest to add the custom page for these links as well.


I would also welcome this. The information disclosure risks can be much more manageable if it is only applied to categories.

Otherwise, by enabling that setting it also allows for discovering private messages for example.


Possibly – @eviltrout can you have someone estimate effort on this one? I’m sympathetic because categories are closely tied to permissions in Discourse, so it makes sense that the 404 would reveal a bit more in this case.


I’m sure it’s a small amount of effort. @riking can you handle it?


Any updates on this?

@riking bumping the thread

It appears that this was broken at the same time as Error page appears repeatedly after you try accessing a private page.

I believe I have a clean fix by placing the logic into the exception controller, which will allow future additions to detailed_404 to happen much smoother, if we ever decide to do so.


This is now merged :slight_smile:


This topic was automatically closed after 6 days. New replies are no longer allowed.