MantisBT: master-2.25 77608634

Author Committer Branch Timestamp Parent
dregad dregad master-2.25 2022-07-24 06:57 master-2.25 94520849
Affected Issues  0030791: Allow adding relation type noopener/noreferrer to outgoing links
Changeset

Allow setting rel=noopener/noreferrer for URL links

$g_html_make_links now accepts 2 new contants, LINKS_NOOPENER and
LINKS_NOREFERRER, allowing the admin to set the corresponding type for
the URL links that are generated when the MantisCoreFormatting plugin's
URL Processing is ON.

The default value for $g_html_make_links has been changed from
LINKS_SAME_WINDOW to LINKS_SAME_WINDOW | LINKS_NOOPENER, for
security reasons.

Fixes 0030791

mod - config_defaults_inc.php Diff File
mod - core/constant_inc.php Diff File
mod - core/string_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File