View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014760 | mantisbt | html | public | 2012-10-02 20:30 | 2014-06-11 14:51 |
Reporter | phyllisl | Assigned To | grangeway | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 1.3.0dev | ||||
Summary | 0014760: Bug Report Text Input Cannot Take Special Characters | ||||
Description | When reporting an issue in Mantis 1.3, if I put special characters in Description, it crashes because it failed to convert them. | ||||
Steps To Reproduce | For example: echo '<p class="center">' .error_string(ERROR_ACCESS_DENIED).'</p>' | ||||
Tags | No tags attached. | ||||
Actually, I made a mistake about saying special characters. What it does is that when having line such as: echo '<p class="123">'echo'</p>' the the html entities are escaped, except for the last closing tag of p, where were taken as part of the xml of the page. In other version of mantis, it was solved by automatically adding another opening tag of p before the closing tag of p according to the page source code. However I couldn't see where it happens in the php files. In short, the html entity of "p" is not escaped like the others. |
|
phyllisl, I'm not able to reproduce this on the current GIT code. I'd be inclined to think that what was happening here was we were doing strict validation to xml/html5 or whatever standard ( can't recall which one). I suspect that was then failing to render in the browser, and what we did in the code at the time was to change back the validation to an non-strict standard if you can still produce this, please try and give me something I can use to reproduce (e.g. put the description you are using on pastebin.com so I can reproduce without the text getting edited by mantis ;)) |
|