summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-01-23 10:38:13 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-01-23 10:38:13 -0500
commit80a95443c57a50f79f89511482bb64d231f01ae0 (patch)
tree3baddc1dba0b5a84f760dfe68de5c89e45375126
parent5454347fe99d9e71508e47fbe4289e26516093da (diff)
downloadaurweb-80a95443c57a50f79f89511482bb64d231f01ae0.tar.xz
Remove urlencode('K') in pkg_search_results.
The urlencoded string should only be used for href, but it was being applied and used in printed output, like the keywords textbox. This fixes a problem that was reported in FS#12791 - Faster navigation withing package search listing by page numbers Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--web/template/pkg_search_results.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 6b5b283..7741f42 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -1,7 +1,3 @@
-<?php
-# Encode search string
-$_GET['K'] = urlencode($_GET['K']);
-?>
<form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'>
<center>