Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#3127 - Add "no binary" validation
Attached to Project:
AUR web interface
Opened by Aaron Griffin (phrakture) - Monday, 29 August 2005, 16:14 GMT
Opened by Aaron Griffin (phrakture) - Monday, 29 August 2005, 16:14 GMT
|
DetailsI don't have svn access and haven't tested this or anything (need to setup the DB when I have time, however, the following should be fairly simple:
in pkgsubmit.php, line ~180: if ($f != "." && $f != "..") { $pkg_contents[$f] = filesize($f); + if (preg_match("/.*pkg.tar.gz/",$f)) { + $error = __("Binary packages are not allowed for upload"); + } } |
This task depends upon
Closed by Jaroslaw Swierczynski (swiergot)
Friday, 02 September 2005, 15:35 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in r239 with a little modification of regexp to also disallow filelists.
Friday, 02 September 2005, 15:35 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in r239 with a little modification of regexp to also disallow filelists.