MantisBT: master-2.27 a6e8c5c7

Author Committer Branch Timestamp Parent
raspopov dregad master-2.27 2024-11-26 13:51 master-2.27 1f556e79
Affected Issues  0035039: The GraphViz tool is almost impossible to customise for Windows
Changeset

Fix Graphviz calls on Windows

Failing due to unescaped spaces in the path and incorrectly escaped
directory delimiter slashes in the proc_open() call.

Use realpath() to set the path to the library, and add escapeshellarg()
in the Graphviz tool call.

Fixes 0035039

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

Original commits squashed.

mod - admin/check/check_display_inc.php Diff File
mod - core/graphviz_api.php Diff File