Escape geocoder errors. Closes #2892.
authorTom Hughes <tom@compton.nu>
Sun, 18 Apr 2010 11:41:15 +0000 (11:41 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 19 Apr 2010 13:28:03 +0000 (14:28 +0100)
app/views/geocoder/error.html.erb

index e2ce07b..c4b6f89 100644 (file)
@@ -1 +1 @@
-<p class="search_results_error"><%= @error %></p>
+<p class="search_results_error"><%= h(@error) %></p>