From: Tom Hughes Date: Sun, 18 Apr 2010 11:41:15 +0000 (+0000) Subject: Escape geocoder errors. Closes #2892. X-Git-Tag: live~6887^2~8 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a4b1c178c93de40d36e8fea16a8a1403e22da68b Escape geocoder errors. Closes #2892. --- diff --git a/app/views/geocoder/error.html.erb b/app/views/geocoder/error.html.erb index e2ce07b6e..c4b6f8964 100644 --- a/app/views/geocoder/error.html.erb +++ b/app/views/geocoder/error.html.erb @@ -1 +1 @@ -

<%= @error %>

+

<%= h(@error) %>