From 0e5f2e1f1efe520da6f9c9d7db4bc3dec7e589e6 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 19 Apr 2011 23:45:43 +0200 Subject: urlencode() query args for main site package search (fixes FS#23774). There may be characters in package dependencies that are reserved within URLs (e.g. "+"). Use urlencode() to ensure those are encoded correctly. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template/pkg_details.php') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index ef2ba736..06580639 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -116,7 +116,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[ if (!is_null($darr[2])) { echo " ".$darr[0].$darr[1].""; } else { - echo " ".$darr[0].$darr[1].""; + echo " ".$darr[0].$darr[1].""; } } -- cgit v1.2.3-24-g4f1b