diff --git a/src/net/tools/naive/naive_proxy_bin.cc b/src/net/tools/naive/naive_proxy_bin.cc index dd5540eef8..0b8f241879 100644 --- a/src/net/tools/naive/naive_proxy_bin.cc +++ b/src/net/tools/naive/naive_proxy_bin.cc @@ -443,6 +443,7 @@ std::unique_ptr BuildURLRequestContext( GURL proxy_gurl(proxy_url); if (proxy_url.compare(0, 7, "quic://") == 0) { proxy_url.replace(0, 4, "https"); + proxy_gurl = GURL(proxy_url); auto* quic = context->quic_context()->params(); quic->supported_versions = {quic::ParsedQuicVersion::RFCv1()}; quic->origins_to_force_quic_on.insert(