Closed Apply pather still applies to full URL

truonglv

Well-known member
Licensed customer
Affected version
latest
In template:

Code:
{{ link('full:attachments', $attachment) }}

And we added some Listener to render full link (external link) instead of using XenForo link (/attachments/xxx).


Finally, XF stills apply XF board URL into attachments (only effect if friendly URL is disabled).

For example:

Code:
http://localhost/index.php?<my_full_attachment_url>

Expected it should only return <my_full_attachment_url>
 
Automated triage: As designed

Thank you for reporting this issue. When a link-building callback returns a plain string, it is treated as a route path. With friendly URLs disabled, that path is formatted as index.php?… and given the board path. Returning a pre-built link object instead skips that formatting, so a full external URL is output unchanged.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom