* lib/viewcvs.py

(_re_validate_number): Allow brackets in tag names.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@913 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
cmpilato 2004-08-17 19:17:55 +00:00
parent e376b03b6d
commit e58b5f67aa
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ _re_validate_alpha = re.compile('^[a-z]+$')
_re_validate_number = re.compile('^[0-9]+$')
# when comparing two revs, we sometimes construct REV:SYMBOL, so ':' is needed
_re_validate_revnum = re.compile('^[-_.a-zA-Z0-9:~]*$')
_re_validate_revnum = re.compile('^[-_.a-zA-Z0-9:~\\[\\]]*$')
# it appears that RFC 2045 also says these chars are legal: !#$%&'*+^{|}~`
# but woah... I'll just leave them out for now