Ticket #6602 (closed defect (bug): fixed)
kses Should Prevent Duplicate Attributes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6.1 |
| Component: | General | Version: | 2.6 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: |
Description
The following is allowed, which would break a blog using strict XHTML:
<a href='foo' href='foo'>blah</a>
Attachments
Change History
-
attachment
bug6602.patch
added
Updated patch to take first attribute and ignore later duplicate attributes (per Sam Ruby's comment)
- Status changed from new to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted
- Milestone changed from 2.7 to 2.6.1
Re-open for 2.6.1
- Status changed from reopened to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Version changed from 2.5.1 to 2.9.1
- Resolution fixed deleted
Bug appears to still be valid in WP 2.9.1, despite my patch being in kses.php
comment:10
nacin — 2 years ago
- Status changed from reopened to closed
- Version changed from 2.9.1 to 2.6
- Resolution set to fixed
Re-closing (see #6642:comment:15)
Note: See
TracTickets for help on using
tickets.
