Add comment about location invalid chars

This commit is contained in:
Calen Pennington
2012-07-11 10:23:06 -04:00
parent 8119e6b939
commit 8e4c7c878e

View File

@@ -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')