summaryrefslogtreecommitdiffstats
path: root/templates/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-12 00:29:46 +0200
committerDan McGee <dan@archlinux.org>2010-06-12 00:29:46 +0200
commitb3059dd3e871de3bc34fa3ee7ab9730c034f22df (patch)
tree9842753abf3503c37af809e7b15cec26da759b44 /templates/mirrors
parent408288719e7515ac01c6eb81a5a2d9a1c63a62bc (diff)
downloadarchweb-b3059dd3e871de3bc34fa3ee7ab9730c034f22df.tar.gz
archweb-b3059dd3e871de3bc34fa3ee7ab9730c034f22df.tar.xz
Remove action when submitting to same URL
It looks like the `action="."` business was screwing up some browsers, notably lynx and links. We don't need it as the default is to submit to the same page anyway, so kill this gunk and see if it fixes a login CSRF issue. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors')
-rw-r--r--templates/mirrors/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/index.html b/templates/mirrors/index.html
index 55c172d..f386ea4 100644
--- a/templates/mirrors/index.html
+++ b/templates/mirrors/index.html
@@ -13,7 +13,7 @@
Simply replace the contents of <code>/etc/pacman.d/mirrorlist</code> with
the generated code.</p>
- <form id="list-generator" method="post" action=".">{% csrf_token %}
+ <form id="list-generator" method="post">{% csrf_token %}
{{ mirrorlist_form.as_p }}
<p><label></label> <input type="submit" value="Generate List" /></p>
</form>