XenForo_ControllerPublic_Goto has a function actionPost which redirects like posts/ and actionConvMessage redirects conversation messages, which both then redirect back to the end page. There are two redirections in a row.
From what I understand this route is only used within the quote template. Wouldn't it be easier to directly route within that quote template to either posts or conversation messages? Then you would only have one redirect.