Commit fe4fbf6d by Arjun Singh

The changes to @revisioning broke when ajax requests came through with trailing…

The changes to @revisioning broke when ajax requests came through with trailing slashes on the URLs. This makes sure that the trailing slash gets left out of the name.
parent 113535db
......@@ -19,7 +19,7 @@ URL_RE = re.compile("""
(?P<org>[^/]+)/
(?P<course>[^/]+)/
(?P<category>[^/]+)/
(?P<name>[^@]+)
(?P<name>[^@/]+)
(@(?P<revision>[^/]+))?
""", re.VERBOSE)
......
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