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


Groups > comp.sys.mac.system > #129345

Re: Apple Maps URL interception mechanism.

Subject Re: Apple Maps URL interception mechanism.
Newsgroups comp.sys.mac.system
References <saxXF.124934$db6.49433@fx33.iad> <h9bc6fF13euU2@mid.individual.net>
From JF Mezei <jfmezei.spamnot@vaxination.ca>
Message-ID <wR0YF.14786$py.2560@fx31.iad> (permalink)
Date 2020-01-28 15:30 -0500

Show all headers | View raw


On 2020-01-28 13:17, Jolly Roger wrote:

> o Think about how a user agent might affect a web server's response. 

a browser needs a response containing data from a remote host to get the
Content Type: field from which it can decide how to handle the content
of the respnse.  the curl  app provided 0 bytes of content in the initia
redirect and the redirect pointed to generic marketing page on IOS Maps.
(HTML content).


> o Also, research how macOS and iOS apps can define custom URL schemes.

This got me the hint I needed. Althoiugh this is not a custom URL Scheme
such as facetime:, tel: , the maps use standard http:// which is not a
custom URL scheme.

The documentation I found does confirm that some hosts are captured by
the openURL scheme in the GUI framework and it intercepts certain hosts
names such as the maps.apple.com, itunes and for IOS youtube)



I am however quite curious about you and your ilk's statements that you
could make curl behave like firefox.  An open source unix utility would
not be using proprietary Apple GUI APIs so there would be no code to
intercept a request to maps.apple.com

note:
 open "http://maps.apple.com/&q=11:45&ll=-32.397491,134.623536&t=k"

it sees the http: and sends it to Firefox. (which then gets it sent to
Maps when it tries to access it).  This points to even the Apple-only
"open"  not using the GUI code capable of intercepting certain URLs.

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web