News for hackers. Stuff that matters.
Re:Chrome 69: “www.” subdomain missing from URL by fireattack on Thursday September 06, 2018 @02:34PM (#17928389)
I'm ok with hiding "www.", but it also hides "m." which is sometimes very confusing (I once opened a m.facebook.com link and was very puzzled why it uses the mobile site when the URl bar just shows "facebook.com").
Re:Chrome 69: “www.” subdomain missing from URL by idbehold on Thursday September 06, 2018 @03:52PM (#17929056)
What you may be surprised to learn is that Chrome isn't just stripping "www." from the beginning of the subdomain. "subdomain.www.domain.com" displays as "subdomain.domain.com"
Re:Chrome 69: “www.” subdomain missing from URL by Klathmon on Thursday September 06, 2018 @08:37PM (#17930983)
I just downloaded canary and tried it and you are absolutely right.

about.www.github.io shows as about.github.io

I'm on board with this change in general, but this is absolutely something that needs to be fixed.

Not only is that just annoying and wrong, but it could be dangerous in some situations.

Also, it doesn't just stop at one removal.

    http://www.www.about.www.www.stuff.www.www.example.com
shows as

    about.stuff.example.com
Interestingly though it doesn't remove it if it's the TLD, or the actual domain (so stuff.www.whatever shows as stuff.www.whatever).
Re:Chrome 69: “www.” subdomain missing from URL by lysp on Friday September 07, 2018 @04:54AM (#17932798)
Re:Chrome 69: “www.” subdomain missing from URL by mrunkel on Friday September 07, 2018 @01:16AM (#17932035)
I'm guessing this is implemented as s/www\.//
Re:Chrome 69: “www.” subdomain missing from URL by evozer on Friday September 07, 2018 @06:00AM (#17933051)
Re:Chrome 69: “www.” subdomain missing from URL by contravariant on Thursday September 06, 2018 @04:11PM (#17929179)
Isn't this a security risk? What if someone malicious takes control of the www.com domain?
Re:Chrome 69: “www.” subdomain missing from URL by speleding on Thursday September 06, 2018 @05:19PM (#17929648)
The www.com might not be easy to get, but there is probably a www name at another important TLD that can be purchased. And if you own that domain you can easily get SSL certificates too.

Sounds like Chrome could now be a phisher's best friend…

Re:Chrome 69: “www.” subdomain missing from URL by qu4z-2 on Thursday September 06, 2018 @11:26PM (#17931649)
It appears that it only does it for anything subdomainish -- that is, not the first part after the TLD. I tested it against .nz which has a silly mix of .{co,govt,school}.nz second-level domains and directly registered example.nz domains and it always displays at least one "registered" bit.

Which is almost worse because it seems like people have put thought into this.

Re:Chrome 69: “www.” subdomain missing from URL by larkeith on Thursday September 06, 2018 @11:49PM (#17931747)
This entire change is a security risk - there is no guarantee that any subdomain has the same owner as the primary, and that's not even getting into subdomain hijacking.
Re:Chrome 69: “www.” subdomain missing from URL by thaumasiotes on Friday September 07, 2018 @12:28AM (#17931876)
Let's get into subdomain hijacking a bit. Imagine taking control of www.www.www.google.com .
Re:Chrome 69: “www.” subdomain missing from URL by type0 on Thursday September 06, 2018 @04:00PM (#17929109)
This is amazing, what a freak show.
Re:Chrome 69: “www.” subdomain missing from URL by boomlinde on Friday September 07, 2018 @02:39AM (#17932317)
Today is a great day to own www.com
Re:Chrome 69: “www.” subdomain missing from URL by Klathmon on Friday September 07, 2018 @07:15PM (#17938347)
Luckily it doesn't work with TLDs or the "domain" part (or whatever the name for the "google" in "google.com" is).

So stuff.www.com shows as stuff.www.com

But www.www.com shows as www.com

Re:Chrome 69: “www.” subdomain missing from URL by strictnein on Thursday September 06, 2018 @04:12PM (#17929185)
Should file this as a bug. If they seriously missed this that is just amazing.
Re:Chrome 69: “www.” subdomain missing from URL by pishpash on Thursday September 06, 2018 @07:38PM (#17930609)
lol, this one is a plain bug if true, and hints at a really rash change, like, not reviewed at all.

It's getting likely it will have to be reverted and a loud slap in the face delivered as should be.

Re:Chrome 69: “www.” subdomain missing from URL by brockers on Thursday September 06, 2018 @03:54PM (#17929071)
No this is simply bad implementation. As has already been mention, for internet services that also have websites for those services the www. subdomain makes total sense.

> How will you distinguish http://www.pool.ntp.org vs http://pool.ntp.org ?

In the above case pool.ntp.org is a decades old time service, while www.pool.ntp.org is a website describing the service.

Re:Chrome 69: “www.” subdomain missing from URL by kojeovo on Thursday September 06, 2018 @10:24PM (#17931437)
http://www.pool.ntp.org redirects to https://www.ntppool.org/en/ as does https://ntppool.org/en/, so I guess that's a non issue
Re:Chrome 69: “www.” subdomain missing from URL by howard941 on Thursday September 06, 2018 @04:34PM (#17929336)
Do you get something at http://pool.ntp.org ? My blowser times out as does telnetting to port 80
Re:Chrome 69: “www.” subdomain missing from URL by Domenic_S on Thursday September 06, 2018 @04:46PM (#17929407)
ntp is UDP so telnet isn't going to work. Try this:

$ ntpdate -d pool.ntp.org

Re:Chrome 69: “www.” subdomain missing from URL by howard941 on Thursday September 06, 2018 @05:06PM (#17929555)
Thanks. The URL's protocol element threw me for a loop.
Re:Chrome 69: “www.” subdomain missing from URL by hjfa0j on Thursday September 06, 2018 @04:20PM (#17929225)
That website looks unexpectedly modern.
Re:Chrome 69: “www.” subdomain missing from URL by ehsankia on Thursday September 06, 2018 @03:18PM (#17928815)
Facebook aside, don't the majority of sites show you mobile version by looking at headers. Isn't that the whole reason the "Show desktop version" feature even exists in Chrome, to send the desktop header? Very few sites actually use www. vs m.

Clearly, in those cases, people aren't "confused" by the fact that they are seeing a mobile version on www., so other than the fact that you're used to Facebook specifically working this way, wouldn't you just send the Desktop header whenever you get mobile and want desktop?

Re:Chrome 69: “www.” subdomain missing from URL by Nition on Thursday September 06, 2018 @03:42PM (#17929004)
Just speaking for myself, but often people will link to mobile Wikipedia pages, or mobile versions of other sites, and I'll look at the URL first to see if I can change it to a desktop version.
Re:Chrome 69: “www.” subdomain missing from URL by ehsankia on Saturday September 08, 2018 @12:26AM (#17939403)
The fact that you have to even do that shows that the m. pattern is bad. The same url should be shareable without having to worry about such things. It should show as mobile on mobile and desktop on desktop, unless you specifically tell it not to.
Re:Chrome 69: “www.” subdomain missing from URL by derefr on Thursday September 06, 2018 @04:18PM (#17929213)
> Isn't that the whole reason the "Show desktop version" feature even exists in Chrome, to send the desktop header?

This is indeed what it does; I wish it did more!

Specifically, when visiting responsive pages on a phone where the mobile-viewport-size layout is just 100% broken, I’d love if “Request Desktop Site” actually set the viewport to be that of a desktop browser, and then set a low CSS/viewport zoom level to compensate. I want the dual of what happens when I set the “simulate a phone of X size” option in Chrome’s inspector!

Re:Chrome 69: “www.” subdomain missing from URL by notatoad on Thursday September 06, 2018 @05:20PM (#17929656)
I'm pretty sure Chrome's "request desktop site" option does change the viewport size. Or if it's doing something else, it has the same effect.

Have you tried it in the last couple months? It seems like a fairly recent change in behaviour.

Re:Chrome 69: “www.” subdomain missing from URL by kccqzy on Thursday September 06, 2018 @04:55PM (#17929475)
I have a bookmarklet to specifically add/edit the <meta> tag on the page to change the viewport width to 1200px.

Works in many cases, although there still are sites that break with this. I have seen sites that uses the value of window.innerWidth at load and never bother listening for changes in the width. I have seen sites that uses the presence of onTouchMove event to determine whether to use a mobile layout.

Re:Chrome 69: “www.” subdomain missing from URL by hegz on Thursday September 06, 2018 @08:24PM (#17930896)
Modern websites use the screen width to show you mobile vs desktop view. But before CSS had good support for responsive web design everyone had to create a separate website for mobile and put it on m.website
Re:Chrome 69: “www.” subdomain missing from URL by fireattack on Thursday September 06, 2018 @06:25PM (#17930176)
I don't get what you mean, I'm talking about opening an "m.facebook.com" link on my desktop computer Chrome. So not sure why "Show desktop version" is relevant.

>Very few sites actually use www. vs m.

Well, facebook does that.

Re:Chrome 69: “www.” subdomain missing from URL by Yizahi on Friday September 07, 2018 @06:24AM (#17933149)
It's not about hiding www. or m. subdomains. It's about hiding amp. subdomain, and google is really invested into turning web into collection of amp pages on their own servers.
Re:Chrome 69: “www.” subdomain missing from URL by AlfeG on Friday September 07, 2018 @01:20AM (#17932051)
How many sites do even use this convention of `m.`? In .ru territorybon internet there is around zero such sites.
Re:Chrome 69: “www.” subdomain missing from URL by Ajedi32 on Friday September 07, 2018 @09:57AM (#17934240)
Looks like they're only going to be hiding `m.` on mobile. On desktop it will still show by default.