View Issue Details

IDProjectCategoryView StatusLast Update
0025849mantisbtcode cleanuppublic2019-08-25 12:36
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version2.22.0Fixed in Version2.22.0 
Summary0025849: New prepare_mailto_url() API function
Description

There are several places in MantisBT code where mailto: links are built manually.

To avoid code duplication, we should provide a new API to standardize this functionality.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master a293c691

2019-04-28 00:58

dregad


Details Diff
New prepare_mailto_url() API function

There are several places in MantisBT code where mailto: links are built
manually. Provide a new API to standardize this functionality.

Fixes 0025849
Affected Issues
0025849
mod - core/prepare_api.php Diff File

MantisBT: master 6e2edf1e

2019-04-29 23:52

dregad


Details Diff
Use API functions instead of hardcoding mailto: URLs

Issue 0025849
Affected Issues
0025849
mod - core/cfdefs/cfdef_standard.php Diff File
mod - manage_plugin_page.php Diff File

MantisBT: master a9b249b0

2019-04-30 14:54

dregad


Details Diff
PHPUnit tests for prepare_mailto_url()

Issue 0025849
Affected Issues
0025849
mod - tests/Mantis/AllTests.php Diff File
add - tests/Mantis/PrepareTest.php Diff File