ampersands in .cddb data
Jamie Zawinski <[email protected]> Mon, 23 Feb 2004 22:44:00 -0800
| Newsgroups | gmane.comp.audio.freedb.devel |
|---|---|
| Organization | my own bad self |
| Message-ID | <[email protected]> |
The cddb server on freedb.freedb.org seems to convert & to %26 at some
point after submission.
Is this correct behavior? I don't see this behavior documented in
http://www.freedb.org/modules.php?name=Sections&sop=viewarticle&artid=29
nor do I see any precedent for needing to do URL-style character
decoding in other places in this file format (the use of \n instead
of %0A certainly seems to point against it.)
Disc c10fe10d demonstrates this. I'm the one who originally submitted
that disc to the database (quite some time ago), and my .cddb file
contains, e.g.,
TTITLE1=Mark Piovanetti & Kat Bjelland & Jim Thirwell & Dougie Bowne / Go to
but today the database says instead,
TTITLE1=Mark Piovanetti %26 Kat Bjelland %26 Jim Thirwell %26 Dougie Bowne / Go to
You can see that here:
http://freedb.freedb.org/cgi-bin/cddb.cgi?cmd=cddb+read+rock+c10fe10d&hello=private+free.the.cddb+Client+1.5&proto=5
So what's going on? Is the cddb daemon code mistakenly quoting
things, or are clients expected to de-quote %XX strings as well?
--
Jamie Zawinski
[email protected] http://www.jwz.org/
[email protected] http://www.dnalounge.com/