Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #129319 > unrolled thread

Apple Maps URL interception mechanism.

Started byJF Mezei <jfmezei.spamnot@vaxination.ca>
First post2020-01-27 03:28 -0500
Last post2020-02-06 22:49 +0000
Articles 12 on this page of 32 — 7 participants

Back to article view | Back to comp.sys.mac.system


Contents

  Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-27 03:28 -0500
    Re: Apple Maps URL interception mechanism. richard@cogsci.ed.ac.uk (Richard Tobin) - 2020-01-27 14:01 +0000
    Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-27 14:06 +0000
      Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-27 13:24 -0500
        Re: Apple Maps URL interception mechanism. David Ritz <dritz@mindspring.com> - 2020-01-27 14:24 -0600
          Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-28 01:13 -0500
        Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-27 22:42 +0000
          Re: Apple Maps URL interception mechanism. Alan Baker <nunya@ness.biz> - 2020-01-27 14:59 -0800
            Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-28 14:31 +0000
              Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-01-28 18:10 +0000
    Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-01-28 18:17 +0000
      Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-28 15:30 -0500
        Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-01-28 22:11 +0000
        Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-28 23:36 +0000
    Re: Apple Maps URL interception mechanism. Alan Browne <bitbucket@blackhole.com> - 2020-01-31 18:04 -0500
    Re: Apple Maps URL interception mechanism. Alan Browne <bitbucket@blackhole.com> - 2020-02-01 18:51 -0500
      Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-02-02 04:00 +0000
        Re: Apple Maps URL interception mechanism. Alan Browne <bitbucket@blackhole.com> - 2020-02-02 12:59 -0500
        Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-02 17:41 -0500
          Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-04 20:13 +0000
            Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-05 02:23 -0500
              Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-05 21:45 +0000
                Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-05 18:25 -0500
                  Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 01:20 +0000
                    Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-05 23:49 -0500
                      Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 05:50 +0000
                      Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 05:53 +0000
              Re: Apple Maps URL interception mechanism. richard@cogsci.ed.ac.uk (Richard Tobin) - 2020-02-06 16:16 +0000
                Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-06 15:07 -0500
                  Re: Apple Maps URL interception mechanism. richard@cogsci.ed.ac.uk (Richard Tobin) - 2020-02-06 20:43 +0000
                    Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-06 16:05 -0500
                  Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 22:49 +0000

Page 2 of 2 — ← Prev page 1 [2]


#129834

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2020-02-05 02:23 -0500
Message-ID<i4u_F.116928$_R3.81041@fx36.iad>
In reply to#129802
On 2020-02-04 15:13, Lewis wrote:

> No, as usual you have taken one piece of information and made the
> idiotic assumption that it explains everything.

 curl -I http://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k

HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
Location: https://www.apple.com/ios/maps/
Expires: Wed, 05 Feb 2020 07:14:11 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 05 Feb 2020 07:14:11 GMT
Connection: keep-alive
Strict-Transport-Security: max-age=31536000



Since I am so stupid, please provide the explanation to me how this
response could bring me to the Apple MAPS on the web for the requested
latitude and longitude.

Please remember that Content-Length: 0 indicates that there are no
parameters provided for a POST type of transation.

[toc] | [prev] | [next] | [standalone]


#129845

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2020-02-05 21:45 +0000
Message-ID<slrnr3mdsi.23f4.g.kreme@ProMini.lan>
In reply to#129834
In message <i4u_F.116928$_R3.81041@fx36.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> Since I am so stupid, please provide the explanation to me

No. Explaining things to you is like washing a pig in a sty, seconds
later the pig is filthy anyway. Also, I don't feel like wasting my time
trying to educate you on the stupid assumptions you have made.

Suffice to say, you're doing it wrong.

-- 
"Your stepmom is cute" "Shut up, Ted" "Remember when she was a senior
	and we were freshmen?" "Shut up Ted!"

[toc] | [prev] | [next] | [standalone]


#129853

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2020-02-05 18:25 -0500
Message-ID<s9I_F.192022$zI7.106266@fx37.iad>
In reply to#129845
On 2020-02-05 16:45, Lewis wrote:
> No. Explaining things to you is like washing a pig in a sty, seconds
> later the pig is filthy anyway. Also, I don't feel like wasting my time
> trying to educate you on the stupid assumptions you have made.
> 
> Suffice to say, you're doing it wrong.


So you make baseless accusation without being able to provide any
explanation of what I am allegedly doing wrong.

The purpose of newsgroups was to exchange information so we can learn
from each other. You are insulting people but unwilling to eve back up
your insults (likely because you are insulting for the purpose of
insulting on a topic you don't even know about).

[toc] | [prev] | [next] | [standalone]


#129855

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2020-02-06 01:20 +0000
Message-ID<slrnr3mqei.26k6.g.kreme@ProMini.lan>
In reply to#129853
In message <s9I_F.192022$zI7.106266@fx37.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2020-02-05 16:45, Lewis wrote:
>> No. Explaining things to you is like washing a pig in a sty, seconds
>> later the pig is filthy anyway. Also, I don't feel like wasting my time
>> trying to educate you on the stupid assumptions you have made.
>> 
>> Suffice to say, you're doing it wrong.


> So you make baseless accusation without being able to provide any
> explanation of what I am allegedly doing wrong.

Baseless No. I've dealt with your intractable stupidity in these groups
for years. I have ZERO interest in trying to help you figure out.

And from you postings on this topic and I can *see* the idiotic things
you are doing wrong. And I am not the only one.

So no, not baseless at all.

> The purpose of newsgroups was to exchange information so we can learn
> from each other.

You have proven yourself incapable of that.

> You are insulting people but unwilling to eve back up your insults
> (likely because you are insulting for the purpose of insulting on a
> topic you don't even know about).

You are confusing specific and accurate statements about your behavior
to be insults, that's your problem. You don't like being called an
ignorant idiot incapable of learning, that's within your power (and only
yours) to change. You continue to be willfully ignorant on a wide range
of topics and never listen to anyone foolish enough to help you, instead
arguing and making imbecilic claims that have no relationship to
reality. You have repeatedly accused me of lying about using Apple Pay
in Canada, so fuck off, I'm not answering your questions.


-- 
I WILL NOT PLEDGE ALLEGIANCE TO BART Bart chalkboard Ep. 7F09

[toc] | [prev] | [next] | [standalone]


#129862

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2020-02-05 23:49 -0500
Message-ID<UVM_F.153323$db6.133208@fx33.iad>
In reply to#129855
On 2020-02-05 20:20, Lewis wrote:

> Baseless No. I've dealt with your intractable stupidity in these groups
> for years. I have ZERO interest in trying to help you figure out.

Then don't participate when I have questions you have no intention of
responding.

You barged in to this thread with your insults when you have no
intention to contribute (or knowledge to contribute).

[toc] | [prev] | [next] | [standalone]


#129863

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2020-02-06 05:50 +0000
Message-ID<slrnr3na8n.2b2u.g.kreme@ProMini.lan>
In reply to#129862
In message <UVM_F.153323$db6.133208@fx33.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2020-02-05 20:20, Lewis wrote:

>> Baseless No. I've dealt with your intractable stupidity in these groups
>> for years. I have ZERO interest in trying to help you figure out.

> Then don't participate when I have questions you have no intention of
> responding.

Fuck you, I'll post what I want when I want. Ridiculing you for the
stupid shit you post while pretending to know what you're talking about
will continue.

You don't get to tell me what to do.

> You barged in to this thread with your insults when you have no
> intention to contribute (or knowledge to contribute).

No, I was in this thread very early on when several people were telling
you were fucking things up and didn't understand what was happening and
doing it wrong.

You have, as is usual, continued to repeat the same stupid shit and
repeated to claim you know what you're doing, which is laughable since
everyone reading your posts know you are completely clueless.

-- 
"Are you pondering what I'm pondering?"
"I think so, Brain, but what kind of rides do they have in
	Fabioland?"

[toc] | [prev] | [next] | [standalone]


#129864

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2020-02-06 05:53 +0000
Message-ID<slrnr3nae2.2b2u.g.kreme@ProMini.lan>
In reply to#129862
In message <UVM_F.153323$db6.133208@fx33.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> You barged in to this thread with your insults when you have no
> intention to contribute (or knowledge to contribute).

In fact, you lying piece of shit, I was the first, third, and fourth
person to respond to your initial post. Liar.


-- 
"Are you pondering what I'm pondering?"
"I think so, Brain! You draw the bath and I'll fetch the
	alka-seltzers and candles!"

[toc] | [prev] | [next] | [standalone]


#129874

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2020-02-06 16:16 +0000
Message-ID<r1he56$1o4f$1@macpro.inf.ed.ac.uk>
In reply to#129834
In article <i4u_F.116928$_R3.81041@fx36.iad>,
JF Mezei  <jfmezei.spamnot@vaxination.ca> wrote:
> curl -I http://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k

I think you need some quotes there.

But also try:

curl -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3)' -I 'http://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k'

-- Richard

[toc] | [prev] | [next] | [standalone]


#129879

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2020-02-06 15:07 -0500
Message-ID<Am__F.339849$hD4.27859@fx47.iad>
In reply to#129874
On 2020-02-06 11:16, Richard Tobin wrote:
> curl -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3)' -I 'http://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k'

Thanks. Interesting that Apple would provide different response
depending on User Agent.

curl -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3)' -I
'http://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k'
HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
Location: maps://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k
Expires: Thu, 06 Feb 2020 20:01:02 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Thu, 06 Feb 2020 20:01:02 GMT
Connection: keep-alive
Strict-Transport-Security: max-age=31536000

So the actual response redirects to a maps:// scheme instead of http://
scheme when you specify a user agent that Apple likes.

Alan Browne had posted an example where from one specific browser, he
got redirected to a web based display of the request map area.


However the documentation I found from Apple mentions that the GUI APIs
will intercept certain http://<host names> requests to handle the
request themselves (for instance youtube on IOS, and maps on all
platsofrs were mentioned.

So I would have to so a wireshark to see if an http:// transaction
actually goes out to the internet from Firefox to get back the maps://
redirect, or whether it gets intercepted by the Mac before going to the
Internet.

But it does appear that Apple does handle certain but not all cases that
"leak" to it as http:// Internet transactions isntead of being
intercepted locally.

[toc] | [prev] | [next] | [standalone]


#129904

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2020-02-06 20:43 +0000
Message-ID<r1htpn$20jr$1@macpro.inf.ed.ac.uk>
In reply to#129879
In article <Am__F.339849$hD4.27859@fx47.iad>,
JF Mezei  <jfmezei.spamnot@vaxination.ca> wrote:

>So I would have to so a wireshark to see if an http:// transaction
>actually goes out to the internet from Firefox to get back the maps://
>redirect, or whether it gets intercepted by the Mac before going to the
>Internet.

I would be very surprised if Firefox used any Mac API that would allow
URLs to be intercepted.  But you can look at the source code to check.

-- Richard

[toc] | [prev] | [next] | [standalone]


#129911

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2020-02-06 16:05 -0500
Message-ID<Cc%_F.171960$MX1.109609@fx43.iad>
In reply to#129904
On 2020-02-06 15:43, Richard Tobin wrote:

> I would be very surprised if Firefox used any Mac API that would allow
> URLs to be intercepted.  But you can look at the source code to check.

If Firefox gets a 302 response back from Apple redirecting to a maps://
URL, it would need to know what to do with a maps:// scheme so would
need to ask OS-X either to handle it pr ask it what it shoudl do with it.

Also, found a Google reference:

If your URL matches the following regular expression, and the device is
running iOS 9 or later, you may want to consider using the openURL:
method directly.

(http(s?)://)?
((maps\.google\.{TLD}/)|
 ((www\.)?google\.{TLD}/maps/)|
 (goo.gl/maps/))
.*



(openURL is the Apple API which is documented as intercepting special
host names such as maps.apple.com and youtube, but as of IOS 9 (the page
I found), was likely still calling the google maps app).

Note that to get Google Maps , the scheme is comgooglemaps:// instead of
maps://

(again, as per some IOS 9 documentation).

https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/YouTubeLinks/YouTubeLinks.html#//apple_ref/doc/uid/TP40007899-CH8-SW1

Consider that while Apple controls the maps.apple.com host and can
decide to respond with any 302 it wants, it doesn't control the
youtube.con host yet, it is documented as intercepting the
http://www.youtube.com request from Safari on IOS to play it natively
instead of running the web version.

[toc] | [prev] | [next] | [standalone]


#129923

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2020-02-06 22:49 +0000
Message-ID<slrnr3p5vn.2p3l.g.kreme@ProMini.lan>
In reply to#129879
In message <Am__F.339849$hD4.27859@fx47.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2020-02-06 11:16, Richard Tobin wrote:
>> curl -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3)' -I 'http://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k'

> Thanks. Interesting that Apple would provide different response
> depending on User Agent.

No it's not, and this is information you were already told and attacked
because you "knew" what was going on.

-- 
W is for WINNIE embedded in ice X is for XERXES devoured by mice

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.sys.mac.system


csiph-web