diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-03-05 11:07:31 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-03-05 13:26:35 +0100 |
commit | 4bb6e8874237d6b81b46bbaf5726d6f15790594b (patch) | |
tree | fadd234032e46f7f23a157194a6c0c1740912f17 /web/lib/feedcreator.class.php | |
parent | 6dc61e7d9e87ad6821869dab61e5f005af2e0252 (diff) | |
download | aur-4bb6e8874237d6b81b46bbaf5726d6f15790594b.tar.gz aur-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/feedcreator.class.php')
0 files changed, 0 insertions, 0 deletions