Show More
@@ -389,7 +389,7 b' HTTP client follows HTTP redirect on han' | |||
|
389 | 389 | > relpath = path[len(b'/redirector'):] |
|
390 | 390 | > res.status = b'301 Redirect' |
|
391 | 391 | > newurl = b'%s/redirected%s' % (req.baseurl, relpath) |
|
392 | > if not repo.ui.configbool('testing', 'redirectqs', True) and b'?' in newurl: | |
|
392 | > if not repo.ui.configbool(b'testing', b'redirectqs', True) and b'?' in newurl: | |
|
393 | 393 | > newurl = newurl[0:newurl.index(b'?')] |
|
394 | 394 | > res.headers[b'Location'] = newurl |
|
395 | 395 | > res.headers[b'Content-Type'] = b'text/plain' |
General Comments 0
You need to be logged in to leave comments.
Login now