# HG changeset patch # User Marcin Kuzminski # Date 2019-05-23 07:03:16 # Node ID 3343038bd3a4646b65047951aa38e0d23c92b029 # Parent 66b1d111b32b7cbeb15414a2787a26558145a8c5 archives: allows downloading refs that have slashes and special refs. e.g f/feat1 branch names. diff --git a/rhodecode/apps/repository/__init__.py b/rhodecode/apps/repository/__init__.py --- a/rhodecode/apps/repository/__init__.py +++ b/rhodecode/apps/repository/__init__.py @@ -90,7 +90,7 @@ def includeme(config): # Files config.add_route( name='repo_archivefile', - pattern='/{repo_name:.*?[^/]}/archive/{fname}', repo_route=True) + pattern='/{repo_name:.*?[^/]}/archive/{fname:.*}', repo_route=True) config.add_route( name='repo_files_diff',