##// 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 180 # full channelstream connect should be VCS skipped
181 181 '_admin/channelstream/connect',
182
183 '++/repo_creating_check'
182 184 ]
183 185 path_info = get_path_info(environ)
184 186 path_url = path_info.lstrip('/')
@@ -187,6 +189,9 b' def detect_vcs_request(environ, backends'
187 189 if item.endswith('++') and path_url.startswith(item[:-2]):
188 190 log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item)
189 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 195 if item == path_url:
191 196 log.debug('path `%s` in whitelist (match:%s), skipping...', path_url, item)
192 197 return handler
General Comments 0
You need to be logged in to leave comments. Login now