Opened 14 years ago
Closed 13 years ago
#24083 closed enhancement (fixed)
the_author_posts_link() not properly escaping HTML output
| Reported by: | bradkovach | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Template | Version: | 3.5.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
14 years ago
- Component General → Template
- Milestone Awaiting Review → 3.6
- Severity minor → normal
- Type defect (bug) → enhancement
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixed in [23528].