diff --git a/common/lib/xmodule/xmodule/modulestore/__init__.py b/common/lib/xmodule/xmodule/modulestore/__init__.py index 1e8ee838d7ff8ce671a7ec336b335583dc104e5c..3930ee9ff334e599601ec9b6e47661c3821fc0b5 100644 --- a/common/lib/xmodule/xmodule/modulestore/__init__.py +++ b/common/lib/xmodule/xmodule/modulestore/__init__.py @@ -19,6 +19,8 @@ URL_RE = re.compile(""" (/(?P<revision>[^/]+))? """, re.VERBOSE) +# TODO (cpennington): We should decide whether we want to expand the +# list of valid characters in a location INVALID_CHARS = re.compile(r"[^\w.-]") _LocationBase = namedtuple('LocationBase', 'tag org course category name revision')