[wp-hackers] Re: wp_insert_link() --> rss output
wordpress at dd32.id.au
Thu Oct 11 23:12:54 GMT 2007
On Fri, 12 Oct 2007 00:57:39 +1000, Christian Höltje <docwhat+list.wp.hackers at gerf.org> wrote:
> In HTML and especially XML/XHTML/RSS the characters &, < , " must be
> be replaced with entities (escaping). However, the canonical form of
> a URL is without any entities. You would type in a browser
> foo.php?a=b&c=d not foo.php?a=b&c=d. The second would produce two
> arguments a=b and amp;c=d
In an XHTML document all Amperstands have to be url encoded in the get query var.
foo.php?a=b&c=d is not valid XHTML, foo.php?a=b&c=d is valid XHTML.
You would not type the address into the url bar as b&c it expects it to come as b&c
More information about the wp-hackers