MantisBT: master 3683fac4

Author Committer Branch Timestamp Parent
dhx dhx master 2010-11-19 10:08 master 5d073485
Affected Issues  0012471: Relationships graph doesn't cope well with custom bug id formats
Changeset

Fix 0012471: Bug formatted IDs not escaped properly for DOT relgraph

Bug IDs can be pretty formatted by plugins handling the
EVENT_DISPLAY_BUG_ID event. The returned pretty formatted ID may not be
safe to dump directly into the DOT language script used to generate
relationship graphs. Therefore we need to check for a valid format
according to DOT language rules. If the format returned is invalid then
we use the raw bug ID (non-padded) instead.

Thanks to Jimmy Monin for reporting this issue and providing assistance.

mod - core/relationship_graph_api.php Diff File