X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7dbf8d83369cb73929080c4ba23fdd7dcd0184df..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)