#6602 closed defect (bug) (fixed)
kses Should Prevent Duplicate Attributes
| Reported by: | schiller | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6.1 |
| Component: | General | Version: | 2.6 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: | Focuses: |
Description
The following is allowed, which would break a blog using strict XHTML:
<a href='foo' href='foo'>blah</a>
Attachments (1)
Change History (12)
#9
@
17 years ago
- Resolution fixed
- Status closed → reopened
- Version 2.5.1 → 2.9.1
Bug appears to still be valid in WP 2.9.1, despite my patch being in kses.php
#10
@
17 years ago
- Resolution → fixed
- Status reopened → closed
- Version 2.9.1 → 2.6
Re-closing (see #6642:comment:15)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Updated patch to take first attribute and ignore later duplicate attributes (per Sam Ruby's comment)