[fossil-users] Default /home and Wiki name validation?

2013-12-16 Thread Andy Bradford
Hello,

While testing, I created a new fossil  and then in the first setup page,
change  the project  name  to just  2 characters  (e.g.  TF). It  didn't
disallow me from doing so, but now I see that it wants to load a Wiki by
the same name, but it doesn't meet the Wiki requirements and so I get an
error:

The wiki name TF is not well-formed. Rules for wiki page names:

Must not begin or end with a space.
Must not contain any control characters, including tab or newline.
Must not have two or more spaces in a row internally.
Must be between 3 and 100 characters in length.


Should an exception be made for a Wiki page that is the main /home page?
Or should Project names not be allowed  to be less than 2 characters? Or
is this just  an edge case that  is now documented in  the list archives
and one can either  change the name of the project, or  not use Wiki for
the main page?

Thoughts?

Andy
-- 
TAI64 timestamp: 400052afdf2e


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Default /home and Wiki name validation?

2013-12-16 Thread Joel Bruick

Andy Bradford wrote:

Should an exception be made for a Wiki page that is the main /home page?
Or should Project names not be allowed  to be less than 2 characters? Or
is this just  an edge case that  is now documented in  the list archives
and one can either  change the name of the project, or  not use Wiki for
the main page?


The three character minimum was an arbitrary restriction that people run 
into often enough that it might as well be removed. So I have.


Join us for next week's show, when we'll discuss why wiki page names 
can't be more than 100 characters! :)

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users