Comment 1 for bug 95109

Revision history for this message
James Henstridge (jamesh) wrote : Re: It is possible to register branches with '_' in their name

The database constraints don't match the constraint in the Python code.

The Python code uses our standard valid_name() constraint of ^[a-z0-9][a-z0-9\+\.\-]*$

The database constraint uses a valid_branch_name() constraint of ^(?i)[a-z0-9][a-z0-9+\.\-@_]+$ (i.e. same as above but allows upper case, "@" and "_").

One of these constraints is incorrect.