Changeset - 0ebdd15de1d8
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-10-16 23:34:34
marcin@python-works.com
fix routing regex for compare branches with / and other special chars
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/config/routing.py
Show inline comments
 
@@ -435,7 +435,7 @@ def make_map(config):
 
                 revision='tip', conditions=dict(function=check_repo))
 

	
 
    rmap.connect('compare_url',
 
                 '/{repo_name:.*?}/compare/{org_ref_type}@{org_ref}...{other_ref_type}@{other_ref}',
 
                 '/{repo_name:.*?}/compare/{org_ref_type}@{org_ref:.*?}...{other_ref_type}@{other_ref:.*?}',
 
                 controller='compare', action='index',
 
                 conditions=dict(function=check_repo),
 
                 requirements=dict(
0 comments (0 inline, 0 general)