diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-29 16:09:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-29 16:09:00 +0000 |
commit | 670340e543cecafbd7c6f89e3113d7b06858e0bb (patch) | |
tree | b984411f79aa783d903c16e0cfe87b7beff0d6b1 /app/views/settings | |
parent | 004fc8b84b1cebc521664ca3830f969a91244e67 (diff) | |
download | redmine-670340e543cecafbd7c6f89e3113d7b06858e0bb.tar.gz redmine-670340e543cecafbd7c6f89e3113d7b06858e0bb.zip |
The test email action should only be accessible with POST (#20203).
git-svn-id: http://svn.redmine.org/redmine/trunk@14389 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/_notifications.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/_notifications.html.erb b/app/views/settings/_notifications.html.erb index f746f7ced..59a30a9a8 100644 --- a/app/views/settings/_notifications.html.erb +++ b/app/views/settings/_notifications.html.erb @@ -30,7 +30,7 @@ </fieldset> <div style="float:right;"> -<%= link_to l(:label_send_test_email), :controller => 'admin', :action => 'test_email' %> +<%= link_to l(:label_send_test_email), { :controller => 'admin', :action => 'test_email' }, :method => :post %> </div> <%= submit_tag l(:button_save) %> |