##// END OF EJS Templates
fix routing regex for compare branches with / and other special chars
marcink -
r2928:0ebdd15d beta
parent child Browse files
Show More
@@ -435,7 +435,7 b' def make_map(config):'
435 revision='tip', conditions=dict(function=check_repo))
435 revision='tip', conditions=dict(function=check_repo))
436
436
437 rmap.connect('compare_url',
437 rmap.connect('compare_url',
438 '/{repo_name:.*?}/compare/{org_ref_type}@{org_ref}...{other_ref_type}@{other_ref}',
438 '/{repo_name:.*?}/compare/{org_ref_type}@{org_ref:.*?}...{other_ref_type}@{other_ref:.*?}',
439 controller='compare', action='index',
439 controller='compare', action='index',
440 conditions=dict(function=check_repo),
440 conditions=dict(function=check_repo),
441 requirements=dict(
441 requirements=dict(
General Comments 0
You need to be logged in to leave comments. Login now