MantisBT: master-2.26 904f9235

Author Committer Branch Timestamp Parent
dregad dregad master-2.26 2024-09-20 12:17 master-2.26 6cb11276
Affected Issues  0034682: Incorrect usage of lang_get_defaulted() for an URL
Changeset

Use helper_mantis_url(), not lang_get_defaulted()

The incorrect usage is a regression introduced many years ago by commit
b8e0279f7c1026bb27aaa5a1f3f09e5b9d8b08fc.

It never caused any noticeable harm, because with lang_get_defaulted()
the param is returned as-is when not found, and since it was used as URL
it would be relative to current directory.

Fixes 0034682

mod - core/html_api.php Diff File