diff --git a/app/models/person.rb b/app/models/person.rb index 70a961f0e..19eef2969 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -37,8 +37,8 @@ class Person before_destroy :remove_all_traces before_validation :clean_url validates_presence_of :url, :profile, :serialized_public_key - validates_format_of :url, :with => - /^(https?):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*(\.[a-z]{2,5})?(:[0-9]{1,5})?(\/.*)?$/ix + #validates_format_of :url, :with => + # /^(https?):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*(\.[a-z]{2,5})?(:[0-9]{1,5})?(\/.*)?$/ix ensure_index :diaspora_handle