From AminetWiki
Revision as of 02:17, 25 March 2006 by Gutjahr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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