[vorbis] Re: kolabore.de now vorbisized, up and running angain

Christian Weisgerber naddy at mips.inka.de
Sat Mar 17 11:33:05 PST 2001



Jeremy C. Reed <reed at reedmedia.net> wrote:

> This ampersand is irrelevant to HTML -- it is part of the URL. It is used
> by the CGI. Each definition has a name and a value; the ampersand
> separates each setting. If I used "foo=bar&amp;name=fred" in my CGIs, then
> it would split it up like:
>  foo is bar
>  amp;name is fred

WRONG.  The whole document is subject to entity processing.
"foo=bar&name=fred" contains an (undefined) entity "name".  This
is masked by the error recovery of most browsers.  You need to use
"foo=bar&amp;name=fred".  First entities are resolved, then the
result is passed on.

If an URL appears _inside an HTML document_ ampersand must be
escaped.  If you pass an URL on a command line etc, this doesn't
apply of course.


-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list