Difference between revisions of "Bugs"

From AminetWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
===2006-03-27-2===
 
===2006-03-27-2===
Status: NEW
+
Status: NEW<br>
 
due to a bug in admin.pl, we can't accept packages without suffix atm. admin.pl always claims said package does already exist on Aminet.
 
due to a bug in admin.pl, we can't accept packages without suffix atm. admin.pl always claims said package does already exist on Aminet.
  
 
===2006-03-27-1===
 
===2006-03-27-1===
Status: NEW
+
Status: NEW<br>
 
search.php and package.php will not check a file's date, so they will create download links to mirror sites even if the file is not mirrored yet.
 
search.php and package.php will not check a file's date, so they will create download links to mirror sites even if the file is not mirrored yet.
  
 
===2006-03-27-0===
 
===2006-03-27-0===
Status: ANALYSE
+
Status: ANALYSE<br>
 
if somebody uploads foo.lha and foo.lha.readme, admin.pl will accept this upload and add it to the database - but obviously, it shouldn't.<br><br>This is caused by doc/info/adt/suffixes (which lists all accepted suffixes) having an empty line. When searching for the archive that belongs to a readme, admin.pl will strip ".readme" from foo.lha.readme, store the result in $root and then do<br><br>    <pre>
 
if somebody uploads foo.lha and foo.lha.readme, admin.pl will accept this upload and add it to the database - but obviously, it shouldn't.<br><br>This is caused by doc/info/adt/suffixes (which lists all accepted suffixes) having an empty line. When searching for the archive that belongs to a readme, admin.pl will strip ".readme" from foo.lha.readme, store the result in $root and then do<br><br>    <pre>
 
for $s (@suffixes) {
 
for $s (@suffixes) {

Revision as of 01:46, 27 March 2006

2006-03-27-2

Status: NEW
due to a bug in admin.pl, we can't accept packages without suffix atm. admin.pl always claims said package does already exist on Aminet.

2006-03-27-1

Status: NEW
search.php and package.php will not check a file's date, so they will create download links to mirror sites even if the file is not mirrored yet.

2006-03-27-0

Status: ANALYSE

if somebody uploads foo.lha and foo.lha.readme, admin.pl will accept this upload and add it to the database - but obviously, it shouldn't.

This is caused by doc/info/adt/suffixes (which lists all accepted suffixes) having an empty line. When searching for the archive that belongs to a readme, admin.pl will strip ".readme" from foo.lha.readme, store the result in $root and then do

for $s (@suffixes) {
        $archive = "$root$s" if -f "$root$s";
    }

As $root + empty_line exists, admin.pl will accept the upload.