summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_search_results.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 5af02ef..2087abc 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -1,3 +1,7 @@
+<?php
+# Encode search string
+$K = urlencode($K);
+?>
<form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'>
<center>