MantisBT: master-2.27 aeaf1e1d

Author Committer Branch Timestamp Parent
raspopov dregad master-2.27 2025-02-17 11:49 master-2.27 aacb4357
Affected Issues  0035322: Incorrect absolute URL in the tab menu
Changeset

Fix generation of incorrect absolute URL

A wrong if in the print_menu().

Add HtmlApiTest.

Fixes 0035322

Cherry picked from commit f8b1bc9738017ed5833ea9f501704ae40a25e76f,
without the new HtmlAPiTest.php unit test, which leverage namespacing
that is only present in the master branch.

Signed-off-by: Damien Regad dregad@mantisbt.org

mod - core/html_api.php Diff File
add - tests/Mantis/HtmlApiTest.php Diff File