Commit 1350ffd6e8485dc3c0e214265be9564a24098c85

Authored by Victor Costa
1 parent 1b077483

Limit profile identifier pattern

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero.rb
@@ -54,7 +54,7 @@ module Noosfero @@ -54,7 +54,7 @@ module Noosfero
54 end 54 end
55 55
56 def self.identifier_format 56 def self.identifier_format
57 - '[a-z0-9][a-z0-9~.]*([_\-][a-z0-9~.]+)*' 57 + '(?!index)[a-z0-9][a-z0-9~.]*([_\-][a-z0-9~.]+)*'
58 end 58 end
59 59
60 def self.default_hostname 60 def self.default_hostname