On 06.06.08 14:37, Ionel GARDAIS wrote:
> function FindProxyForURL(url,host) {
> if (
> (
> !(
> host.indexOf('www.ifp.fr') == 0
> || host.indexOf('validation.ifp.fr') == 0
> || host.indexOf('project.ifp.fr') == 0
> || host.indexOf('ogst.ifp.fr') == 0
> )
> )
wouldn't be easier to compare host with those strings?
host != "www.ifp.fr" && host != "validation.ifp.fr" ...
> || host.match('127.0.0.1')
is using of
isInNet(host, "127.0.0.0", "255.0.0.0")
not working?
-- Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. I just got lost in thought. It was unfamiliar territory.Received on Fri Jun 06 2008 - 15:06:54 MDT
This archive was generated by hypermail 2.2.0 : Sat Jun 07 2008 - 12:00:03 MDT