Commit d6a52e4c authored by 's avatar

Added a patch to allow '-' in domain specs.

parent bbb32153
......@@ -84,7 +84,7 @@
##############################################################################
"""Access control package"""
__version__='$Revision: 1.87 $'[11:-2]
__version__='$Revision: 1.88 $'[11:-2]
import Globals, App.Undo, socket, regex
from Globals import HTMLFile, MessageDialog, Persistent, PersistentMapping
......@@ -716,7 +716,7 @@ def rolejoin(roles, other):
return roles
addr_match=regex.compile('[0-9\.\*]*').match #TS
host_match=regex.compile('[A-Za-z0-9\.\*]*').match #TS
host_match=regex.compile('[-A-Za-z0-9\.\*]*').match #TS
def domainSpecMatch(spec, request):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment