Web weirdness

simonw@simonwilcox.co.uk simonw at simonwilcox.co.uk
Wed Jun 20 13:58:04 BST 2007


On Wed, 20 Jun 2007, David Cantrell wrote:

> My understanding is that you didn't need to encode ampersands in URLs
> unless they would otherwise look like the beginning of an entity - so
> the string '"' would have to be represented as '%XXquot;' or
> somesuch.

Then I fear your understanding is wrong, at least for xhtml.

http://www.w3.org/TR/xhtml1/#C_12

And in fact for html 4.01 although less explicitly so.

http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2

Simon.


More information about the london.pm mailing list