View Issue Details

IDProjectCategoryView StatusLast Update
0027099mantisbthtmlpublic2020-07-19 08:18
Reporterloris.nardo Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version2.24.1 
Summary0027099: Inconsistent escape of html entities while editing an issue

If the description of an issue contains raw html entities, they are transformed back into the equivalent characters during the edit of the issue.
This can cause the description message to change its meaning especially when the replaced html entities are the less than character and the ampersand character.

Steps To Reproduce
  1. Create an issue with the attached description
  2. See the resulting issue
  3. Open the edit view for the issue
  4. Note that the description text area has different content
  5. Save the issue
  6. Note that the description of the issue has changed, also note that the less than entity has been eagerly transformed into the less than character.

This assume a default configuration for MantisBT

TagsNo tags attached.
Attached Files
description_sample.txt (25 bytes)   
description_sample.txt (25 bytes)