diff --git a/rhodecode/lib/middleware/vcs.py b/rhodecode/lib/middleware/vcs.py --- a/rhodecode/lib/middleware/vcs.py +++ b/rhodecode/lib/middleware/vcs.py @@ -179,6 +179,8 @@ def detect_vcs_request(environ, backends # full channelstream connect should be VCS skipped '_admin/channelstream/connect', + + '++/repo_creating_check' ] path_info = get_path_info(environ) path_url = path_info.lstrip('/') @@ -187,6 +189,9 @@ def detect_vcs_request(environ, backends if item.endswith('++') and path_url.startswith(item[:-2]): log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item) return handler + if item.startswith('++') and path_url.endswith(item[2:]): + log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item) + return handler if item == path_url: log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item) return handler