From ec0dfc27deb246ee7d7f19fd5290e499805869d2 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 4 Nov 2010 18:10:56 +0100 Subject: Removed code for tarball extraction. Automatic tarball extraction was vulnerable in different ways. Users should also only use source tarballs to build packages, so this has been removed completely. From now on, only the PKGBUILD is extracted in a secure manner. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web/template/pkg_details.php') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 7c6356d1..8dd3d284 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -77,8 +77,9 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[

".__("Tarball")." :: ".__("Files")." :: PKGBUILD"; + $urlpath = URL_DIR . $row['Name']; + print "".__("Tarball")." :: "; + print "".__("PKGBUILD").""; } if ($row["OutOfDateTS"] !== NULL) { -- cgit v1.2.3-24-g4f1b