Commit 6a09980b authored by Remi Rampin's avatar Remi Rampin

Fix getting highlights for a tag containing slash

parent 50d69c77
Pipeline #67801983 passed with stage
in 2 minutes and 10 seconds
......@@ -104,7 +104,7 @@ def make_app(config, debug=False, xsrf_cookies=True):
URLSpec(
'/api/project/([0-9]+)/document/([0-9]+)/highlight/([0-9]+)',
api.HighlightUpdate),
URLSpec('/api/project/([0-9]+)/highlights/([^/]*)',
URLSpec('/api/project/([0-9]+)/highlights/(.*)',
api.Highlights),
URLSpec('/api/project/([0-9]+)/tag/new', api.TagAdd),
URLSpec('/api/project/([0-9]+)/tag/([0-9]+)', api.TagUpdate),
......
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