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


Groups > comp.mobile.android > #40825 > unrolled thread

Stopping browser being "helpful"

Started byAnother Dave <dmarsden@nospam.com>
First post2017-03-22 20:14 +0000
Last post2017-03-23 12:41 -0400
Articles 15 — 5 participants

Back to article view | Back to comp.mobile.android


Contents

  Stopping browser being "helpful" Another Dave <dmarsden@nospam.com> - 2017-03-22 20:14 +0000
    Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-22 15:37 -0500
      Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-22 16:59 -0400
        Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-22 18:46 -0500
          Re: Stopping browser being "helpful" "Carlos E. R." <robin_listas@es.invalid> - 2017-03-23 04:07 +0100
            Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-23 18:13 -0500
          Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-22 23:16 -0400
      Re: Stopping browser being "helpful" Another Dave <dmarsden@nospam.com> - 2017-03-22 21:03 +0000
        Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-22 18:50 -0500
          Re: Stopping browser being "helpful" "Carlos E. R." <robin_listas@es.invalid> - 2017-03-23 04:12 +0100
      Re: Stopping browser being "helpful" tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2017-03-22 19:34 -0400
      Re: Stopping browser being "helpful" Another Dave <dmarsden@nospam.com> - 2017-03-23 09:17 +0000
        Re: Stopping browser being "helpful" "Carlos E. R." <robin_listas@es.invalid> - 2017-03-23 14:17 +0100
          Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-23 12:41 -0400
        Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-23 12:41 -0400

#40825 — Stopping browser being "helpful"

FromAnother Dave <dmarsden@nospam.com>
Date2017-03-22 20:14 +0000
SubjectStopping browser being "helpful"
Message-ID<oaulp1$bsv$1@dont-email.me>
I've set up a Rasberry Pi-base nestbox camera. Everything's fine on 
Windows and Linux and I can see the nestbox on web browsers at the 
address URL "nestbox.local".

However when I try this on my wife's Android tablet, all the browsers 
I've tried have either used "nestbox.local" to search on Google or have 
come back saying "www.nestbox.local" not found.

How can I stop the browsers adding the unwanted "www."?
Is there a browser that doesn't try to be helpful?

Another Dave
-- 
Change nospam to techie

[toc] | [next] | [standalone]


#40826

FromVanguardLH <V@nguard.LH>
Date2017-03-22 15:37 -0500
Message-ID<ejg5kqFphvjU1@mid.individual.net>
In reply to#40825
Another Dave <dmarsden@nospam.com> wrote:

> I've set up a Rasberry Pi-base nestbox camera. Everything's fine on 
> Windows and Linux and I can see the nestbox on web browsers at the 
> address URL "nestbox.local".
> 
> However when I try this on my wife's Android tablet, all the browsers 
> I've tried have either used "nestbox.local" to search on Google or have 
> come back saying "www.nestbox.local" not found.
> 
> How can I stop the browsers adding the unwanted "www."?
> Is there a browser that doesn't try to be helpful?

Specify the protocol instead of hoping the client prepends a correct
protocol and hostname string.  Because users are notoriously lazy is why
web browsers are sloppy in accepting incomplete URIs.  If there is no
protocol specified, they have to guess.  If there is no hostname, they
guess.  Without a complete URI, and for a string that doesn't match on a
typical template for URLs, they guess they are supposed to do a search.
Don't make the web browser guess what you meant to specify.  Enter a
full URL to specify the target.

Don't use nestbox.local.  Use http[s]://nestbox.local/.

I include the trailing backslash to the parser doesn't have to guess on
where the domain portion of the URL ends - the third backslash
delineates the start of the path portion of the URL and ends the domain
portion.  Again, don't make the parser guess what you meant to specify.

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


#40827

Fromnospam <nospam@nospam.invalid>
Date2017-03-22 16:59 -0400
Message-ID<220320171659113633%nospam@nospam.invalid>
In reply to#40826
In article <ejg5kqFphvjU1@mid.individual.net>, VanguardLH <V@nguard.LH>
wrote:

> > I've set up a Rasberry Pi-base nestbox camera. Everything's fine on 
> > Windows and Linux and I can see the nestbox on web browsers at the 
> > address URL "nestbox.local".
> > 
> > However when I try this on my wife's Android tablet, all the browsers 
> > I've tried have either used "nestbox.local" to search on Google or have 
> > come back saying "www.nestbox.local" not found.
> > 
> > How can I stop the browsers adding the unwanted "www."?
> > Is there a browser that doesn't try to be helpful?
> 
> Specify the protocol instead of hoping the client prepends a correct
> protocol and hostname string.  Because users are notoriously lazy is why
> web browsers are sloppy in accepting incomplete URIs.  If there is no
> protocol specified, they have to guess.  If there is no hostname, they
> guess.  Without a complete URI, and for a string that doesn't match on a
> typical template for URLs, they guess they are supposed to do a search.
> Don't make the web browser guess what you meant to specify.  Enter a
> full URL to specify the target.
> 
> Don't use nestbox.local.  Use http[s]://nestbox.local/.
> 
> I include the trailing backslash to the parser doesn't have to guess on
> where the domain portion of the URL ends - the third backslash
> delineates the start of the path portion of the URL and ends the domain
> portion.  Again, don't make the parser guess what you meant to specify.

you've been using windows too long. 

urls use a forward slash ( / ), not a backslash ( \ ).

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


#40837

FromVanguardLH <V@nguard.LH>
Date2017-03-22 18:46 -0500
Message-ID<ejgglsFrmr5U1@mid.individual.net>
In reply to#40827
nospam <nospam@nospam.invalid> wrote:

> In article <ejg5kqFphvjU1@mid.individual.net>, VanguardLH <V@nguard.LH>
> wrote:
> 
>>> I've set up a Rasberry Pi-base nestbox camera. Everything's fine on 
>>> Windows and Linux and I can see the nestbox on web browsers at the 
>>> address URL "nestbox.local".
>>> 
>>> However when I try this on my wife's Android tablet, all the browsers 
>>> I've tried have either used "nestbox.local" to search on Google or have 
>>> come back saying "www.nestbox.local" not found.
>>> 
>>> How can I stop the browsers adding the unwanted "www."?
>>> Is there a browser that doesn't try to be helpful?
>> 
>> Specify the protocol instead of hoping the client prepends a correct
>> protocol and hostname string.  Because users are notoriously lazy is why
>> web browsers are sloppy in accepting incomplete URIs.  If there is no
>> protocol specified, they have to guess.  If there is no hostname, they
>> guess.  Without a complete URI, and for a string that doesn't match on a
>> typical template for URLs, they guess they are supposed to do a search.
>> Don't make the web browser guess what you meant to specify.  Enter a
>> full URL to specify the target.
>> 
>> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>> 
>> I include the trailing backslash to the parser doesn't have to guess on
>> where the domain portion of the URL ends - the third backslash
>> delineates the start of the path portion of the URL and ends the domain
>> portion.  Again, don't make the parser guess what you meant to specify.
> 
> you've been using windows too long. 
> 
> urls use a forward slash ( / ), not a backslash ( \ ).

Don't know why you saw backslashes.  Must be a defect in that wonderful
Thoth NNTP client on Mac according to your User-Agent header.  

I used FORWARD slashes.  If Thoth is rendering incorrectly, have it show
you the raw source of my message.

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


#40845

From"Carlos E. R." <robin_listas@es.invalid>
Date2017-03-23 04:07 +0100
Message-ID<bpqbqd-ukp.ln1@minas-tirith.valinor>
In reply to#40837
On 2017-03-23 00:46, VanguardLH wrote:
> nospam <nospam@nospam.invalid> wrote:

>>> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>>>
>>> I include the trailing backslash to the parser doesn't have to guess on
>>> where the domain portion of the URL ends - the third backslash
>>> delineates the start of the path portion of the URL and ends the domain
>>> portion.  Again, don't make the parser guess what you meant to specify.
>>
>> you've been using windows too long. 
>>
>> urls use a forward slash ( / ), not a backslash ( \ ).
> 
> Don't know why you saw backslashes.  Must be a defect in that wonderful
> Thoth NNTP client on Mac according to your User-Agent header.  
> 
> I used FORWARD slashes.  If Thoth is rendering incorrectly, have it show
> you the raw source of my message.

Yes, you did. But your wording says different: "I include the trailing
backslash to the parser"

:-)

-- 
Cheers,
       Carlos E.R.

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


#40881

FromVanguardLH <V@nguard.LH>
Date2017-03-23 18:13 -0500
Message-ID<ejj35gFcuasU1@mid.individual.net>
In reply to#40845
"Carlos E. R." <robin_listas@es.invalid> wrote:

> On 2017-03-23 00:46, VanguardLH wrote:
>> nospam <nospam@nospam.invalid> wrote:
> 
>>>> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>>>>
>>>> I include the trailing backslash to the parser doesn't have to guess on
>>>> where the domain portion of the URL ends - the third backslash
>>>> delineates the start of the path portion of the URL and ends the domain
>>>> portion.  Again, don't make the parser guess what you meant to specify.
>>>
>>> you've been using windows too long. 
>>>
>>> urls use a forward slash ( / ), not a backslash ( \ ).
>> 
>> Don't know why you saw backslashes.  Must be a defect in that wonderful
>> Thoth NNTP client on Mac according to your User-Agent header.  
>> 
>> I used FORWARD slashes.  If Thoth is rendering incorrectly, have it show
>> you the raw source of my message.
> 
> Yes, you did. But your wording says different: "I include the trailing
> backslash to the parser"
> 
> :-)

Ah, a boo boo by me.  Sometimes my fingers don't obey what I tell them
to typo.
      ^__ (deliberate, wink wink)

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


#40847

Fromnospam <nospam@nospam.invalid>
Date2017-03-22 23:16 -0400
Message-ID<220320172316457213%nospam@nospam.invalid>
In reply to#40837
In article <ejgglsFrmr5U1@mid.individual.net>, VanguardLH <V@nguard.LH>
wrote:


> >> 
> >> Don't use nestbox.local.  Use http[s]://nestbox.local/.
> >> 
> >> I include the trailing backslash to the parser doesn't have to guess on
> >> where the domain portion of the URL ends - the third backslash
> >> delineates the start of the path portion of the URL and ends the domain
> >> portion.  Again, don't make the parser guess what you meant to specify.
> > 
> > you've been using windows too long. 
> > 
> > urls use a forward slash ( / ), not a backslash ( \ ).
> 
> Don't know why you saw backslashes. 

i didn't.

> Must be a defect in that wonderful
> Thoth NNTP client on Mac according to your User-Agent header.  

no defects whatsoever in displaying standard ascii.

> I used FORWARD slashes.

however, you said *backslash* in what you wrote:
> >> I include the trailing backslash to the parser doesn't have to guess on
> >> where the domain portion of the URL ends - the third backslash


> If Thoth is rendering incorrectly, have it show
> you the raw source of my message.

no need and i never said it rendered it incorrectly.

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


#40828

FromAnother Dave <dmarsden@nospam.com>
Date2017-03-22 21:03 +0000
Message-ID<oauom4$n3q$1@dont-email.me>
In reply to#40826
On 22/03/17 20:37, VanguardLH wrote:
>
> Specify the protocol instead of hoping the client prepends a correct
> protocol and hostname string.  Because users are notoriously lazy is why
> web browsers are sloppy in accepting incomplete URIs.  If there is no
> protocol specified, they have to guess.  If there is no hostname, they
> guess.  Without a complete URI, and for a string that doesn't match on a
> typical template for URLs, they guess they are supposed to do a search.
> Don't make the web browser guess what you meant to specify.  Enter a
> full URL to specify the target.
>
> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>
I'm pretty sure http://nestbox.local was the first thing I tried.

> I include the trailing backslash to the parser doesn't have to guess on
> where the domain portion of the URL ends - the third backslash
> delineates the start of the path portion of the URL and ends the domain
> portion.  Again, don't make the parser guess what you meant to specify.
>
I'm pretty sure I didn't try the trailing forward slash - thanks for the 
suggestion.
I'm not near the Android machine at the moment and, as I said, it works 
fine on both Linux and Windows. I'll let you know.

Thanks again.

Another Dave
-- 
Change nospam to techie

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


#40838

FromVanguardLH <V@nguard.LH>
Date2017-03-22 18:50 -0500
Message-ID<ejgguaFro7rU1@mid.individual.net>
In reply to#40828
Another Dave <dmarsden@nospam.com> wrote:

> VanguardLH wrote:
>
>> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>
> I'm pretty sure http://nestbox.local was the first thing I tried.
> 
> I'm not near the Android machine at the moment and, as I said, it works 
> fine on both Linux and Windows. I'll let you know.

How is the IP address found for that host?  Did you add an entry into
the 'hosts' file?

https://www.howtogeek.com/140576/how-to-edit-the-hosts-file-on-android-and-block-web-sites/

Or do you have an A record in your local DNS or mDNS server?

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


#40846

From"Carlos E. R." <robin_listas@es.invalid>
Date2017-03-23 04:12 +0100
Message-ID<61rbqd-bqp.ln1@minas-tirith.valinor>
In reply to#40838
On 2017-03-23 00:50, VanguardLH wrote:
> Another Dave <dmarsden@nospam.com> wrote:
> 
>> VanguardLH wrote:
>>
>>> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>>
>> I'm pretty sure http://nestbox.local was the first thing I tried.
>>
>> I'm not near the Android machine at the moment and, as I said, it works 
>> fine on both Linux and Windows. I'll let you know.
> 
> How is the IP address found for that host?  Did you add an entry into
> the 'hosts' file?

No, it is automatic (zeroconf).

https://en.wikipedia.org/wiki/.local

You can find the IP in one of the machines that work, and type the IP in
the machines that don't.

-- 
Cheers,
       Carlos E.R.

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


#40836

Fromtlvp <mPiOsUcB.EtLlLvEp@att.net>
Date2017-03-22 19:34 -0400
Message-ID<30m3n4zptzjz$.prup9qcnfzd8$.dlg@40tude.net>
In reply to#40826
On Wed, 22 Mar 2017 15:37:46 -0500, VanguardLH wrote:

> Don't use nestbox.local.  Use http[s]://nestbox.local/.
> 
> I include the trailing backslash

No backslashes there anywhere. Just three (forward) slashes, two following
the colon (:) and one trailing one (following the "local"). Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.

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


#40855

FromAnother Dave <dmarsden@nospam.com>
Date2017-03-23 09:17 +0000
Message-ID<ob03l9$5gd$1@dont-email.me>
In reply to#40826
On 22/03/17 20:37, VanguardLH wrote:
>
> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>
Nope. Didn't make any difference.

I'm beginning to think it's the .local mechanism that's the problem. I 
believe it's an Apple-ism and that Android doesn't do it.

Anyhow, I've set up a bookmark pointing to 192.168.1.104 and told the 
router's DHCP server to always allocate that address.

Cheers

Another Dave
-- 
Change nospam to techie

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


#40858

From"Carlos E. R." <robin_listas@es.invalid>
Date2017-03-23 14:17 +0100
Message-ID<9gucqd-6av.ln1@minas-tirith.valinor>
In reply to#40855
On 2017-03-23 10:17, Another Dave wrote:
> On 22/03/17 20:37, VanguardLH wrote:
>>
>> Don't use nestbox.local.  Use http[s]://nestbox.local/.
>>
> Nope. Didn't make any difference.
> 
> I'm beginning to think it's the .local mechanism that's the problem. I
> believe it's an Apple-ism and that Android doesn't do it.

Yes, it is called "zeroconf".

-- 
Cheers,
       Carlos E.R.

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


#40864

Fromnospam <nospam@nospam.invalid>
Date2017-03-23 12:41 -0400
Message-ID<230320171241127924%nospam@nospam.invalid>
In reply to#40858
In article <9gucqd-6av.ln1@minas-tirith.valinor>, Carlos E. R.
<robin_listas@es.invalid> wrote:

> >>
> >> Don't use nestbox.local.  Use http[s]://nestbox.local/.
> >>
> > Nope. Didn't make any difference.
> > 
> > I'm beginning to think it's the .local mechanism that's the problem. I
> > believe it's an Apple-ism and that Android doesn't do it.
> 
> Yes, it is called "zeroconf".

and not an apple-ism.

zeroconf is an industry standard. apple calls it bonjour and linux
calls it avahi.

<https://en.wikipedia.org/wiki/Avahi_(software)>

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


#40863

Fromnospam <nospam@nospam.invalid>
Date2017-03-23 12:41 -0400
Message-ID<230320171241117882%nospam@nospam.invalid>
In reply to#40855
In article <ob03l9$5gd$1@dont-email.me>, Another Dave
<dmarsden@nospam.com> wrote:

> >
> > Don't use nestbox.local.  Use http[s]://nestbox.local/.
> >
> Nope. Didn't make any difference.
> 
> I'm beginning to think it's the .local mechanism that's the problem. I 
> believe it's an Apple-ism and that Android doesn't do it.

it's not an apple-ism.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.mobile.android


csiph-web