summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-23 17:17:30 -0500
committerDan McGee <dan@archlinux.org>2011-08-27 09:39:19 -0500
commit2ed3676f61af821e71a5c070e65419cd60906cb8 (patch)
tree4739e0929b5c266f2395648e288a277ce91e5b5e /templates/packages
parente4b75dc124a53090b429bafbc3621c0e0a0f6247 (diff)
Escape parameter to search AUR link
Addresses FS#25732. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 8a357024..4744aa88 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -156,7 +156,7 @@
<p>We couldn't find any packages matching your query. Try searching again
using different criteria, or try
{% if search_form.q.data %}
- <a href="https://aur.archlinux.org/packages.php?K={{ search_form.q.data }}">searching the AUR</a>
+ <a href="https://aur.archlinux.org/packages.php?K={{ search_form.q.data|urlencode }}">searching the AUR</a>
{% else %}searching the AUR{% endif %}
to see if the package can be found there.</p>
</div>