Proxies driving me crazy...

Malte Brill revolution at derbrill.de
Tue Jul 14 09:13:31 EDT 2015


Hi all,

I just came back from a client where an app of mine is forced to either communicate through a proxy, or not, depending on the URL that is being provided.

While this used to work in previous versions of the engine under windows, it no longer does:

— quotes are taken over by email client. are always upper quotes
set the httpProxy to empty
get URL "http://idonotneedaproxy.com <http://idonotneedaproxy.com/>“
set the httpProxy to tProxy — defined elsewhere and valid
get URL „http://ineedaproxy.com <ttp://ineedaproxy.com>“

With a (semi) current engine (6.7.3) this fails. it always tries to communicate through the proxy. However if I do something like this:

set the httpProxy to „127.0.0.1:80"
get URL "http://idonotneedaproxy.com <http://idonotneedaproxy.com/>“
set the httpProxy to empty
get URL "http://idonotneedaproxy.com <http://idonotneedaproxy.com/>“
set the httpProxy to tProxy — defined elsewhere and valid
get URL „ <ttp://ineedaproxy.com>http://ineedaproxy.com“ <http://ineedaproxy.com%e2%80%9c/>

It works??? The first get with 127.0.0.1:80 as a proxy fails, but then the empty one works???

Can somebody please enlighten me why? I know some version of libURL introduced automatic picking up from the registry on Win, however that seems to fail, as the exceptions defined there are not honoured… This is really causing me a lot of lost hair.

Best,

Malte




More information about the use-livecode mailing list