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 54 end
55 55  
56 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 58 end
59 59  
60 60 def self.default_hostname
... ...