View Issue Details

IDProjectCategoryView StatusLast Update
0026771mantisbtmarkdownpublic2020-03-12 07:16
Reporternenadalm Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Product Version2.23.0 
Summary0026771: Configurable safe list of markdown links
Description

MantisCoreFormatting plugin is using Parsedown to convert markdown to html.

Parsedown has list of allowed links: https://github.com/erusev/parsedown/blob/1610e4747c88a53676f94f752b447f4eff03c28d/Parsedown.php#L104 and if link doesn't start with string in the list, it is broken.

It would be nice to have this list configurable to e.g. allow email messages open in thunderbird usink thunderlink addon: https://addons.thunderbird.net/en-US/thunderbird/addon/thunderlink/

$g_plugin_MantisCoreFormatting_safe_links[] = 'thunderlink://';
Additional Information

pr: https://github.com/mantisbt/mantisbt/pull/1629

TagsNo tags attached.

Activities

There are no notes attached to this issue.