Re: [VE][338] PHP sessions and ampersands in URLs

On Wed, 20 Apr 2005, Martin Campos wrote:

> E.g. id=42&copy=1 is not treated id=42(c)=1, is treated id=42&copy=1
> id=42©=1 is treated id=42(c)=1.

Wrong. This misconception is probably a good enough reason to include
something about this, even at the risk of confusing some people who
weren't confused before the explanation.

In HTML, &copy=1 means the copyright sign followed by the equals sign and
digit 1, as I wrote. This is also how most browsers treat it.

In XHTML, &copy=1 is simply not allowed (the document isn't even
well-formed XML, i.e. not XML at all).

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Wednesday, 20 April 2005 07:09:48 UTC