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

Tom 'Korpios' Tobin korpios at korpios.com
Sat Mar 17 10:58:12 PST 2001



On Sat, 17 Mar 2001, Jeremy C. Reed wrote:

> > > > <a href="http://www.kolabore.de/cgi-bin/music.cgi?action=artist&lang=de">
> > > >
> > > > which must read:
> > > >
> > > > <a
> > > href="http://www.kolabore.de/cgi-bin/music.cgi?action=artist&lang=de">
>
> Sorry to continue this off-topic discussion :)
>
> 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

Also, apologies for the OT-ness of this.  :)

Beginning with XHTML 1.0, the ampersand breaks conformity if not part of a
proper character entity reference:

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

******
C.12 Using Ampersands in Attribute Values
When an attribute value contains an ampersand, it must be expressed as a
character entity reference (e.g. "&amp;"). For example, when the href
attribute of the a element refers to a CGI script that takes parameters,
it must be expressed as
http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user rather
than as http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user.
******

As to the CGI issue in question for HTTP GET's, I've never had the full
&amp; cause a problem.

Tom "Korpios" Tobin
http://www.korpios.com/

--- >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