View Issue Details

IDProjectCategoryView StatusLast Update
0012635mantisbtbugtrackerpublic2011-04-05 14:23
Reporterarachnist Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.3 
Target Version1.2.5Fixed in Version1.2.5 
Summary0012635: The "#bug_number" doens't work correctly in bug summaries
Description

If one puts "#bug_number" in a bug summary, mantis doesn't display the link correctly - instead of link, one gets "/view.php?id=489610"

Steps To Reproduce

1) Report an issue
2) Put "#bug_number" in the summary, as a quick reference to another bug
3) View the reported issue (the "view.php" page)
4) Look on the summary on the view page.

TagsNo tags attached.

Activities

arachnist

arachnist

2010-12-29 04:24

reporter   ~0027747

Oh, forgot to add: it did work in one of the 1.1 versions correctly (1.1.3, afair)

dhx

dhx

2011-01-07 05:42

reporter   ~0027846

Thanks for reporting this issue Robert.

I have committed a patch to solve this problem. The cause of the problem was a double escaping of the bug summaries.

Related Changesets

MantisBT: master 25ee1caa

2011-01-07 05:38

dhx


Details Diff
Fix 0012635: Prevent double escape of bug summaries on view page

If one puts "#bug_number" in a bug summary, mantis doesn't display the
link correctly - instead of link, one gets "/view.php?id=489610"

Reproduced by:
1) Report an issue
2) Put "#bug_number" in the summary, as a quick reference to another bug
3) View the reported issue (the "view.php" page)
4) Look on the summary on the view page.

This issue was caused by a double escaping of the bug summary.
Affected Issues
0012635
mod - bug_view_inc.php Diff File

MantisBT: master-1.2.x de6b4a29

2011-01-07 05:38

dhx


Details Diff
Fix 0012635: Prevent double escape of bug summaries on view page

If one puts "#bug_number" in a bug summary, mantis doesn't display the
link correctly - instead of link, one gets "/view.php?id=489610"

Reproduced by:
1) Report an issue
2) Put "#bug_number" in the summary, as a quick reference to another bug
3) View the reported issue (the "view.php" page)
4) Look on the summary on the view page.

This issue was caused by a double escaping of the bug summary.
Affected Issues
0012635
mod - bug_view_inc.php Diff File