Re: [squid-users] Strange problem accessing http://Bloomberg.com

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 8 Apr 2009 13:20:30 +1200 (NZST)

> So I think the client's proxy.pac script might be having trouble
> digesting the malformed URL below:
>
>> 1239113823.055 0 xxx.yyy.zzz.aaa TCP_DENIED/400 1614 GET
>> http://'wbetest2.bloomberg.com/jscommon/0/s_code.js' - NONE/- text/html
>
> The single quote is making the proxy.pac freeze which in turn makes the
> browser window freeze.
> So at least now I know this is a problem at Bloomberg's end.
> However, in the mean time, I need to make this site work for my users
> since brokers are not known for their patience and understanding.
>
> I know this isn't the ideal forum for this, but does anyone have an idea
> how I can let the proxy.pac properly parse a URL with a quoted string in
> it?

Hmmm:

 ...
  if ( strstr($url, "\'") ) return "DIRECT";

should do the trick.

Of course I would never suggest passing them to "PROXY
http://127.0.0.1:80/" ;)

Amos
Received on Wed Apr 08 2009 - 00:20:32 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 08 2009 - 12:00:02 MDT