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>
This commit is contained in:
Loui Chang 2009-01-23 10:38:13 -05:00
parent 5454347fe9
commit 80a95443c5

View file

@ -1,7 +1,3 @@
<?php
# Encode search string
$_GET['K'] = urlencode($_GET['K']);
?>
<form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'> <form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'>
<center> <center>