SECURITY: make find topic by slug adhere to SiteSetting.detailed_404 (PR #9898)

GitHub