summaryrefslogtreecommitdiff
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
parente4b75dc124a53090b429bafbc3621c0e0a0f6247 (diff)
Escape parameter to search AUR link
Addresses FS#25732. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/packages/search.html2
-rw-r--r--templates/public/index.html2
2 files changed, 2 insertions, 2 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>
diff --git a/templates/public/index.html b/templates/public/index.html
index c8b6def0..bea19e0f 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -20,7 +20,7 @@
<p>Currently we have official packages optimized for the i686 and
x86-64 architectures. We complement our official package sets with a
- <a href="https://aur.archlinux.org" title="Arch User Repository (AUR)">
+ <a href="https://aur.archlinux.org/" title="Arch User Repository (AUR)">
community-operated package repository</a> that grows in size and
quality each and every day.</p>