• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURL proxy request error for http://localhost?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSURL proxy request error for http://localhost?
      • From: Sherm Pendley <email@hidden>
References: 
 >http://127.0.0.1 in Safari goes to nameserver? (From: Lance Bland <email@hidden>)

  • Prev by Date: Re: Leaking images
  • Next by Date: NSBezierPath hit- or proximity-detection.
  • Previous by thread: http://127.0.0.1 in Safari goes to nameserver?
  • Next by thread: Re: NSURL proxy request error for http://localhost?
  • Index(es):
    • Date
    • Thread