Fix Bug #1177407: CVS tags with a slash cause an exception
* viewcvs/lib/viewcvs.py (_re_validate_number): Allow '/' in tag names. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1106 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/1.0.0-rc1
parent
577728db86
commit
701452a3fb
|
@ -583,7 +583,7 @@ _re_validate_alpha = re.compile('^[a-z]+$')
|
||||||
_re_validate_number = re.compile('^[0-9]+$')
|
_re_validate_number = re.compile('^[0-9]+$')
|
||||||
|
|
||||||
# when comparing two revs, we sometimes construct REV:SYMBOL, so ':' is needed
|
# 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: !#$%&'*+^{|}~`
|
# it appears that RFC 2045 also says these chars are legal: !#$%&'*+^{|}~`
|
||||||
# but woah... I'll just leave them out for now
|
# but woah... I'll just leave them out for now
|
||||||
|
|
Loading…
Reference in New Issue