Update path matching regex to support dots

This commit is contained in:
Joseph Schorr 2014-03-11 14:42:53 -04:00
parent e699739b23
commit c5fa12329c
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ logger = logging.getLogger(__name__)
route_data = None
class RepoPathConverter(BaseConverter):
regex = '[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+'
regex = '[\.a-zA-Z0-9_\-]+/[\.a-zA-Z0-9_\-]+'
weight = 200
app.url_map.converters['repopath'] = RepoPathConverter