[wp-trac] [WordPress Trac] #21841: redirect_canonical produces invalid redirects when post ID is specified
WordPress Trac
noreply at wordpress.org
Wed Oct 31 23:41:19 UTC 2012
#21841: redirect_canonical produces invalid redirects when post ID is specified
--------------------------+------------------
Reporter: solarissmoke | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Canonical | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by SergeyBiryukov):
Replying to [comment:4 markjaquith]:
> We could just make the function return raw ampersands, and make sure
that any time we're using it in a strict XML context, we're passing it
through {{{esc_url()}}}
[attachment:21841.2.patch] is an attempt to do that.
`feed-rss2.php` already has `esc_url()` there: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/feed-
rss2.php#L53
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21841#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list