the_author_posts_link() not properly escaping HTML output
|Reported by:||bradkovach||Owned by:|
I was running an HTML5 validator on one of the sites I manage and noticed that the_author_posts_link is not properly escaped.
<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)
- 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