diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 7f19fdf..569d0c4 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -43,6 +43,10 @@ class IssuesController < ApplicationController
helper :timelog
include Redmine::Export::PDF
+ verify :method => :post,
+ :only => :destroy,
+ :render => { :nothing => true, :status => :method_not_allowed }
+
def index
retrieve_query
sort_init 'id', 'desc'
diff --git a/app/views/projects/settings/_versions.rhtml b/app/views/projects/settings/_versions.rhtml
index 79d92d8..1f66dec 100644
--- a/app/views/projects/settings/_versions.rhtml
+++ b/app/views/projects/settings/_versions.rhtml
@@ -14,7 +14,7 @@
<%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %> |
<%= format_date(version.effective_date) %> |
<%=h version.description %> |
- <%= link_to(version.wiki_page_title, :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %> |
+ <%= link_to(h(version.wiki_page_title), :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %> |
<%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %> |
<%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> |
diff --git a/app/views/roles/edit.rhtml b/app/views/roles/edit.rhtml
index e53a0f5..b357cc9 100644
--- a/app/views/roles/edit.rhtml
+++ b/app/views/roles/edit.rhtml
@@ -1,4 +1,4 @@
-<%=l(:label_role)%>: <%= @role.name %>
+<%=l(:label_role)%>: <%=h @role.name %>
<% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>