Safari ignores proxy settings for AJAX requests?

I'm using Safari 4 on Mac OS X 10.5.7.

When I configure Safari's proxy settings (which redirect to System Preferences -> Network -> Advanced -> Proxies), all my page requests go through the proxy I configured, except for AJAX requests.

I configured an intercepting proxy (burp suite) to verify this, and indeed, AJAX requests are not being sent to the proxy. I double checked the exact same page on Firefox 3.5 on the same Mac with the same proxy being configured, and in this case the AJAX requests do go via the proxy.

For Safari, I configured the "Web Proxy (HTTP)" and "Secure Web Proxy (HTTPS). Is there anything else I need to do? Is this a bug in Safari?

Thanks in advance for all help.

iMac 2006, Mac OS X (10.5.7)

Posted on Jul 28, 2009 9:58 AM

Reply
8 replies

Sep 12, 2009 7:21 AM in response to arjan_t

I'm seeing the same problem. I use privoxy, a local security/privacy/ad-blocking proxy that lives on my computer. Firefox always sends its requests through the proxy, but Safari sometimes ignores the proxy settings. Vienna, my RSS reader, stops going through the proxy when Safari stops doing it. A restart fixes the problem for a while, but eventually the ads start showing up in Safari and Vienna.

I didn't start seeing this problem until Safari 4. I'm currently using the most up-to-date version of Safari, 4.0.3, with Mac OS X 10.5.8 and all other updates as of 12 Sep 2009. Privoxy is version 3.0.10, not the very latest, but it's working.

Sep 12, 2009 8:32 AM in response to jonesey

Replying to my own post...

I have figured out that it's our new Cisco Java-based VPN client that's to blame. We used to use Cisco's stand-alone application VPN client (version 4.9.01), which worked fine. Now we have a Java-based version of the VPN client (Cisco AnyConnect VPN Client). It makes the Mac ignore the system-wide HTTP proxy setting.

Firefox was a red herring. I discovered that Firefox was set manually to use my local proxy. When I set Firefox to "use system settings", it also ignores the Mac OS X proxy setting.

So now I have to figure out how to get the new VPN client to respect my proxy settings.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Safari ignores proxy settings for AJAX requests?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.