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 <>
parent 5454347f
# Encode search string
$_GET['K'] = urlencode($_GET['K']);
<form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'>
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