Opened 12 years ago
Closed 12 years ago
#24083 closed enhancement (fixed)
the_author_posts_link() not properly escaping HTML output
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.5.1 |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
I was running an HTML5 validator on one of the sites I manage and noticed that the_author_posts_link is not properly escaped.
For example,
<a href="http://www.chud.com/author/William Thomas-Berk/" title="Posts by William Thomas Berk" rel="author">William Thomas Berk</a>
Notice that the URI has a space in it that should be encoded as %20
before being output. As a result, there are a lot of HTML validation errors being shown as a result.
Change History (3)
#1
@
12 years ago
- Component changed from General to Template
- Milestone changed from Awaiting Review to 3.6
- Severity changed from minor to normal
- Type changed from defect (bug) to enhancement
Note: See
TracTickets for help on using
tickets.
Fixed in [23528].