[wp-trac] [WordPress Trac] #3808: URI for preview pane in post
template contains unescaped ampersand
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 18 05:22:57 GMT 2007
#3808: URI for preview pane in post template contains unescaped ampersand
----------------------------+-----------------------------------------------
Reporter: ara_p | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 2.0.6
Severity: normal | Keywords: amp entity
----------------------------+-----------------------------------------------
The URI passed to the preview pane in the post template contains an
unescaped ampersand. This normally doesn't cause people a problem but in
situations where the site pages are delivered as XML (using the
application/xhtml+xml MIME type) the preview breaks due to the unescaped
character.
The bug can be found in /wp-admin/post.php (line 84):
<iframe src="<?php echo
attribute_escape(apply_filters('preview_post_link', ...
--
Ticket URL: <http://trac.wordpress.org/ticket/3808>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list