diff --git a/common/lib/xmodule/xmodule/modulestore/__init__.py b/common/lib/xmodule/xmodule/modulestore/__init__.py index 1e8ee838d7..3930ee9ff3 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[^/]+))? """, 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')