CGI: Leading 0s are not saved for numeric CRCs [FIXED?]

already fixed bugs

Moderator: AniDB

Locked
wahaha
AniDB Staff
Posts: 1497
Joined: Sun Nov 17, 2002 3:33 pm

CGI: Leading 0s are not saved for numeric CRCs [FIXED?]

Post by wahaha »

Example:
http://www.anidb.net/cgi-bin/animedb.pl ... 74&nonav=1

Real CRC: 07011333
Stored CRC: 7011333

When I changed it to 00011333 for testing purposes, it showed "11333" in the ed2k-link and in the file-info-page afterwards.
Another test was 07a11333... that one was stored correctly.
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

should be fixed now.

BYe!
EXP
wahaha
AniDB Staff
Posts: 1497
Joined: Sun Nov 17, 2002 3:33 pm

Post by wahaha »

The bug might have reappeared:
http://anidb.ath.cx/perl-bin/animedb.pl ... 73&nonav=1
The CRC has been changed 2 weeks ago. The changed CRC is listed as "%B02306421", although it shows up without the leading 0: "2306421".
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

changed some stuff.
someone plz check if the problem persists.

BYe!
EXP
wahaha
AniDB Staff
Posts: 1497
Joined: Sun Nov 17, 2002 3:33 pm

Post by wahaha »

Looks like the problem still exists:
http://anidb.ath.cx/perl-bin/animedb.pl ... 05&nonav=1

I just granted a CReq to add the leading zero, but it didn't change anything.
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

changed some stuff, please try again.

BYe!
EXP
Locked