summaryrefslogtreecommitdiffstats
path: root/web/lib/DB.class.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2013-03-05 11:07:31 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2013-03-05 13:26:35 +0100
commit4bb6e8874237d6b81b46bbaf5726d6f15790594b (patch)
treefadd234032e46f7f23a157194a6c0c1740912f17 /web/lib/DB.class.php
parent6dc61e7d9e87ad6821869dab61e5f005af2e0252 (diff)
downloadaurweb-4bb6e8874237d6b81b46bbaf5726d6f15790594b.tar.xz
pkgsubmit.php: Simplify package name validation
Remove redundant filters -- single quotes are already removed in $pkgbuild_new and we do not pass the package name to a shell (additionally, the regular expression already checks for potentially evil characters). Also, move the $pkg_name extraction up to fix the split package check. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/DB.class.php')
0 files changed, 0 insertions, 0 deletions