Skip to content
Snippets Groups Projects
Commit 8e4c7c87 authored by Calen Pennington's avatar Calen Pennington
Browse files

Add comment about location invalid chars

parent 8119e6b9
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment