Edgewall Software

Changes between Version 106 and Version 107 of TracLinks


Ignore:
Timestamp:
Apr 11, 2022, 1:01:42 AM (2 years ago)
Author:
Ryan J Ollos
Comment:

Remove InterWiki that may not be present in all installations.

Legend:

Unmodified
Added
Removed
Modified
  • TracLinks

    v106 v107  
    276276If you'd like to create a direct link to the content of the attached file instead of a link to the attachment page, simply use `raw-attachment:` instead of `attachment:`.
    277277
    278 This can be useful for pointing directly to an HTML document, for example. Note that for this use case, you'd have to allow the web browser to render the content by setting [[TracIni#attachment-render_unsafe_content-option|"[attachment] render_unsafe_content"]] = `enabled`. Caveat: only do that in environments for which you're 100% confident you can trust the people who are able to attach files, as this opens up your site to [wikipedia:Cross-site_scripting cross-site scripting] attacks.
     278This can be useful for pointing directly to an HTML document, for example. Note that for this use case, you'd have to allow the web browser to render the content by setting [[TracIni#attachment-render_unsafe_content-option|"[attachment] render_unsafe_content"]] = `enabled`. Caveat: only do that in environments for which you're 100% confident you can trust the people who are able to attach files, as this opens up your site to [https://en.wikipedia.org/wiki/Cross-site_scripting cross-site scripting] attacks.
    279279
    280280See also [#export:links].