From ef96ec4f0c5bbc28bd0b2e599594e8812f6341c4 Mon Sep 17 00:00:00 2001 From: Ali Beyad <abeyad@google.com> Date: Tue, 22 Oct 2024 15:30:10 -0400 Subject: [PATCH] mobile: Adds proxy.pac to test PAC file URL (#36765) Signed-off-by: Ali Beyad <abeyad@google.com> --- mobile/test/common/proxy/test_apple_proxy_settings_monitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/test/common/proxy/test_apple_proxy_settings_monitor.cc b/mobile/test/common/proxy/test_apple_proxy_settings_monitor.cc index 64dfe90e6698..3229ac6f9388 100644 --- a/mobile/test/common/proxy/test_apple_proxy_settings_monitor.cc +++ b/mobile/test/common/proxy/test_apple_proxy_settings_monitor.cc @@ -47,7 +47,7 @@ CFDictionaryRef TestAppleSystemProxySettingsMonitor::getSystemProxySettingsWithP kCFNetworkProxiesProxyAutoConfigURLString}; // Interpret the host + port as the location from which to obtain the PAC file. - const std::string pac_file_url = absl::StrCat("http://", host_, ":", port_); + const std::string pac_file_url = absl::StrCat("http://", host_, ":", port_, "/proxy.pac"); const void* values[] = { CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &one_), CFStringCreateWithCString(kCFAllocatorDefault, pac_file_url.c_str(), kCFStringEncodingUTF8)};