From b3059dd3e871de3bc34fa3ee7ab9730c034f22df Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 11 Jun 2010 17:29:46 -0500 Subject: 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 --- templates/mirrors/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/mirrors') diff --git a/templates/mirrors/index.html b/templates/mirrors/index.html index 55c172d7..f386ea46 100644 --- a/templates/mirrors/index.html +++ b/templates/mirrors/index.html @@ -13,7 +13,7 @@

Pacman Mirrorlist Generator

Simply replace the contents of /etc/pacman.d/mirrorlist with the generated code.

-
{% csrf_token %} + {% csrf_token %} {{ mirrorlist_form.as_p }}

-- cgit v1.2.3-54-g00ecf