vcs: skip vcs detection on repo creating page
This commit is contained in:
parent
5cc2cfe0ea
commit
cbe72d2e58
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue