Project name limitations?
I attempted to create a project with the name "www.mywebsite.com" but it refuses to allow that project name.
Updated by Jean-Philippe Lang almost 16 years ago
Dots are not allowed. Maybe they should be...
Updated by Damien McKenna almost 16 years ago
The instructions on the project creator needs to either say it
or the limits should
be removed. I personally don't see any reason to restrict it
characters, like periods, as they are often used to name projects,
example of using a website domain name as the project name.
Updated by Pavol Murin almost 16 years ago
well, the validator is in app/models/project.rb:
validates_format_of :name, :with => /^[\w\s\'\-]*$/i
I can't see any reason why this restriction is there - maybe
for regexp purposes?
Updated by Derek Montgomery over 15 years ago
Remove the limitations on name field, just keep them on project
Updated by Jean-Philippe Lang over 15 years ago
Fixed in r949.
Project name can now contain any character.