Re: ampersands in .cddb data

Kevin Dalley <[email protected]> Mon, 23 Feb 2004 23:46:05 -0800
Newsgroups gmane.comp.audio.freedb.devel
Message-ID <[email protected]>
I suspect that the problem is with your client.  I tested your file
(rock c10fe10d), and a local 1.5PL3 server, as well as my revised
PostgreSQL server.  Neither one showed a problem.  I suggest you try a
different client.  You might try setting the email address on your
client to your personal email and see what the submission looks like.
 

Jamie Zawinski <[email protected]> writes:

> 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/
>
> _______________________________________________
> fdb-dev mailing list
> [email protected]
> http://dtype.org/mailman/listinfo/fdb-dev
>

-- 
Kevin Dalley
[email protected]