X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3700e6201b4b78a70bbb2941572edc985b63c2c..c2f23fea6a7821a4ad4c97fd65744b138ec86267:/app/models/report.rb?ds=sidebyside diff --git a/app/models/report.rb b/app/models/report.rb index 63296a094..ac00f1cfb 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -27,7 +27,7 @@ class Report < ActiveRecord::Base validates :issue, :presence => true validates :user, :presence => true - validates :details, :presence => true + validates :details, :presence => true, :invalid_chars => true validates :category, :presence => true def self.categories_for(reportable)