All pastes #730113 Raw Edit

Something

public text v1 · immutable
·published 2007-10-08 21:40 UTC
rendered paste body
   function FindProxyForURL(url, host)
    {
        if (isPlainHostName(host) ||
                dnsDomainIs(host, ".rmbi.com"))
                return "DIRECT";
        if (shExpMatch(url,"[a-z]*://*:[0-9]+"))
                return "DIRECT";
        else
                return "PROXY bluecoat:8080;";
    }
~