From 2a061fb5a931b0fe16ae945923c460f8b1d09f0d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 4 Mar 2008 17:51:42 +0000 Subject: [PATCH 1/1] Escape page title. --- app/views/layouts/site.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 0d1c24df2..bcb479cca 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -7,7 +7,7 @@ <%= stylesheet_link_tag 'site' %> <%= stylesheet_link_tag 'print', :media => "print" %> <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %> - OpenStreetMap<%= ' | '+@title if @title %> + OpenStreetMap<%= ' | '+ h(@title) if @title %>
-- 2.43.2