NSURL proxy request error for http://localhost?
NSURL proxy request error for http://localhost?
- Subject: NSURL proxy request error for http://localhost?
- From: Lance Bland <email@hidden>
- Date: Fri, 21 Feb 2003 08:53:09 -0500
hi-
was: Re:
http://127.0.0.1 in Safari goes to nameserver?
On Friday, February 21, 2003, at 07:36 AM, Lance Bland wrote:
>
Not exactly a cocoa question, but I type one of:
>
>
http://127.0.0.1
>
http://localhost
>
http:///
>
>
in the address field of Safari and it goes to our nameserver computer.
>
is that the correct behavior or is it a bug?
It seems like a CoreFoundation bug.
here is a project that demonstrates the error:
http://www.vvi.com/~lbland/testURL.gz
(run it on a client that uses a proxy web server)
The functions incorrectly redirect "
http://localhost" to the proxy
server (because I use a proxy server for http requests), and the proxy
server sees it as a request to itself. When I turn the proxy server off
on the client then the URL works (it gets the local page).
-lance
------------------------------------
Lance Bland
mailto:email@hidden
VVI Is The #1 Visual-Report Tool Developer For Mac OS X
http://www.vvi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.