Re: NSURLRequest returning bizarre page
Re: NSURLRequest returning bizarre page
- Subject: Re: NSURLRequest returning bizarre page
- From: Jens Alfke <email@hidden>
- Date: Mon, 10 Jun 2013 18:43:19 -0700
On Jun 10, 2013, at 5:06 PM, Trygve Inda <email@hidden> wrote:
> However, on some customer's systems, despite NSError not showing anything
> wrong, I get:
That’s a web page with a pretty clumsy way of redirecting to `/redirect.asp?loc=` followed by the actual URL. I have no idea why someone would do this instead of just configuring their web server to do the redirect (it takes like two lines in an Apache .htaccess file to do this.)
> I have no idea where this is coming from as it is certainly not in the file.
> The customer is not using a proxy or firewall and it happens in two
> different locations (so it could be related to the machine rather than the
> internet).
I’d suspect the network the machine is on (maybe its router) having some kind of man-in-the-middle thing that’s trying to hijack the request somewhere else which can then send you to where you originally wanted to go. As though it were trying to get you to log in or accept terms&conditions or something.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden