##// END OF EJS Templates
vcs: skip vcs detection on repo creating page
super-admin -
r5131:8d42472a default
parent child Browse files
Show More
@@ -179,6 +179,8 b' def detect_vcs_request(environ, backends'
179
179
180 # full channelstream connect should be VCS skipped
180 # full channelstream connect should be VCS skipped
181 '_admin/channelstream/connect',
181 '_admin/channelstream/connect',
182
183 '++/repo_creating_check'
182 ]
184 ]
183 path_info = get_path_info(environ)
185 path_info = get_path_info(environ)
184 path_url = path_info.lstrip('/')
186 path_url = path_info.lstrip('/')
@@ -187,6 +189,9 b' def detect_vcs_request(environ, backends'
187 if item.endswith('++') and path_url.startswith(item[:-2]):
189 if item.endswith('++') and path_url.startswith(item[:-2]):
188 log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item)
190 log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item)
189 return handler
191 return handler
192 if item.startswith('++') and path_url.endswith(item[2:]):
193 log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item)
194 return handler
190 if item == path_url:
195 if item == path_url:
191 log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item)
196 log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item)
192 return handler
197 return handler
General Comments 0
You need to be logged in to leave comments. Login now