#2061 closed defect (bug) (duplicate)
A single < in comments cause the rest of the comment to be lost
Reported by: | allan | Owned by: | markjaquith |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5.2 |
Component: | General | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
If a comment contain a < which is not part of a tag, everything after (and including) that character gets lost (often users will forget to escape such character).
E.g. this: cat <file|tr ...
becomes (after the wp_filter_kses): cat
Attachments (1)
Change History (8)
#1
@
18 years ago
- Keywords bg|has-patch added
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
#4
@
17 years ago
I believe this is because KSES strips elements that are horribly formed (an open <, and continued text), which, technically, could be an element.
#5
@
17 years ago
- Keywords has-patch dev-feedback added; bg|has-patch bg|dev-feedback removed
- Milestone changed from 2.2 to 2.3
Note: See
TracTickets for help on using
tickets.
Patch to fix the problem