Changeset 648 for trunk/packages/sipb-xen-www
- Timestamp:
- Jun 23, 2008, 9:28:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/validation.py
r647 r648 136 136 if not name: 137 137 return False 138 charset = string. ascii_letters + string.digits + '-_'139 if name[0] in '-_' or len(name) > 22:138 charset = string.lowercase + string.digits + '-' 139 if '-' in (name[0], name[-1]) or len(name) > 63: 140 140 return False 141 141 for x in name:
Note: See TracChangeset
for help on using the changeset viewer.