Commit 80a95443 authored by Loui Chang's avatar Loui Chang
Browse files

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: default avatarLoui Chang <louipc.ist@gmail.com>
parent 5454347f
<?php
# Encode search string
$_GET['K'] = urlencode($_GET['K']);
?>
<form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'>
<center>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment