[aur-dev] [PATCH] Sanitize input of package functions in pkg_funcs.inc

2008-10-04 Thread Callan Barrett
Signed-off-by: Callan Barrett <[EMAIL PROTECTED]> --- web/lib/pkgfuncs.inc | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 06171fa..27b623a 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkg

Re: [aur-dev] [PATCH] Sanitize input of package functions in pkg_funcs.inc

2008-10-08 Thread Loui
You've got a lot of code here that's essentially repeated. I would look at doing this another way, such as putting it in a function maybe and having a common error message. "Invalid PKGBUILD ID specified." or something.