review
This commit is contained in:
parent
15dedb78f4
commit
1fd35522fd
|
|
@ -153,8 +153,7 @@ class SocksProxyConnection {
|
||||||
error = rewriteOpenSSLErrorIfNeeded(error);
|
error = rewriteOpenSSLErrorIfNeeded(error);
|
||||||
debugLogger.log('client-certificates', `error when connecting to target: ${error.message.replaceAll('\n', ' ')}`);
|
debugLogger.log('client-certificates', `error when connecting to target: ${error.message.replaceAll('\n', ' ')}`);
|
||||||
const responseBody = escapeHTML('Playwright client-certificate error: ' + error.message)
|
const responseBody = escapeHTML('Playwright client-certificate error: ' + error.message)
|
||||||
.replaceAll('\n', ' <br>')
|
.replaceAll('\n', ' <br>');
|
||||||
.replaceAll(/(https?:\/\/[^\s]+)/g, '<a href="$1" target="_blank">$1</a>');
|
|
||||||
if (internalTLS?.alpnProtocol === 'h2') {
|
if (internalTLS?.alpnProtocol === 'h2') {
|
||||||
// This method is available only in Node.js 20+
|
// This method is available only in Node.js 20+
|
||||||
if ('performServerHandshake' in http2) {
|
if ('performServerHandshake' in http2) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue