Ticket UUID: | 8e5a24b49fcf5bc1c62f62b95c20a7c0458d6183 | ||
Title: | Comments are not properly escaped when displayed through the Web UI | ||
Status: | Closed | Type: | Code_Defect |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Rejected | |
Last Modified: | 2011-04-22 11:36:53 | ||
Version Found In: | 2011-04-19 20:30:31 085b6a1bbb | ||
Description & Comments: | |||
View the manifest at http://www.fossil-scm.org/index.html/artifact/7fca007538fea65f
Notice the entity "è" towards the end of the comment. Now view the checkin at http://www.fossil-scm.org/index.html/info/7fca007538 Notice how the "è" entity was not escaped and actually shows as a real grave accent (`) instead of displaying literally. What happens if something like "&what-kind-of-entity-is-this;" or "�" should appear in a comment? Might trigger a browser crash or security hole. Comments should be displayed verbatim without any interpretation to prevent this potential problem. drh added on 2011-04-22 11:36:53 UTC: Thanks for the suggestion, though. |