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 e2ce07b6e539f1f284c3ded6e55253f13afe5e42..c4b6f8964bb2b3fbd15b867e87e09789e8fbe7de 100644 (file)
@@ -1 +1 @@
-<p class="search_results_error"><%= @error %></p>
+<p class="search_results_error"><%= h(@error) %></p>