Google Camera randomly changes some QR code URLs on Android 12
androidpolice.com
androidpolice.com
* www[0-9].example.tld -> [0-9].example.tld, e.g. www1.nyc.gov -> 1.nyc.gov
* example[ac|co|gov|edu].tld -> example.[ac|co|gov|edu].tld e.g. exampleac.uk -> example.ac.uk
My guess, as someone else further down the comments mentioned, is that some URL handling library is doing more than expected to its input. I filed an internal bug report referencing some of the public reports from a dev build of Android 12, so hopefully this will get triaged soon if someone hasn't already done a similar reproduction.
(I work at Google, but on nothing remotely related to Android.)
After disabling every single assistant or enrichment option I could find, Android is still putting auto-reply prompts into any notification that has a reply button. GO AWAY!
/s
https://mastodon.social/@grishka/107327145271362804
Google seems to LOVE taking a working, great product everyone enjoys, and mutilating it to make everyone miserable. There are many examples. And I know at least one person who updated their phone to android 12 and found it so off-putting they downgraded back to 11 (thankfully you can do that). I just stay on 11 to begin with.
And honesty, it seems significantly buggier. My wife and daughter have noticed it on their phones as well. The keyboard frequently disappears while texting, and you can't get it back without exiting the program. Things freeze for longer.
Seriously regretting upgrading.
Even if users were misclicking, I'd settle for a long press instead.
So I just stop caring about Android updates beyond watching a couple of Google IO talks.
There is absolutly nothing on the newer versions that makes me think "oh I need a new phone".
This change destructs obsolete QR Code reading feature[that needed no change], is impactful[in negative sense], and fixes erroneous URLs[as if there are many]. If you drop negative expressions in brackets it fits a lot of bills.
It's only hipster services such as traefik and caddy that can't handle this. There's a long standing bug on the caddy bugtracker for this, which got closed as wontfix: working as intended.
The "fix" seems to be modifying the client you use to trim suffixed dots from the Host header and SNI. But it'd be much simpler if Caddy & Traefik would juat comply with the standards.
I think your are confusing the role of a trailing dot in the DNS[1] system with the role of a host element in a URI[2].
So, technically speaking, adding a period at the end of a URL is really not OK because `https://example.com/index.html` and `https://example.com/index.html.` are different resources. (note that HN's URL linking logic omits the trailing dot.)
I can understand if you think there should be no difference between `https://example.com/` and `https://example.com./` and that is legitimate per the RFC:
> The rightmost domain label of a fully qualified domain name in DNS may be followed by a single "." and should be if it is necessary to distinguish between the complete domain name and some local domain.
but there is no reason to expect that adding a period at the end of any old URI is going to work.
[1]: https://serverfault.com/a/18122
[2]: https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2
All the names in SNI should be real names and not some locally qualified name, the alternative would be confusing because these are identities and so it doesn't mean anything to have proof you're really "testserver4" we want to know whether you're really "testserver4.mycorp.example" or not.
“testserver4.mycorp.example” (no trailing dot) is not fully-qualified and as such could refer to any number of things of differing identities, e.g. “testserver4.mycorp.example.atthomenetwork.com”.
On the other hand, “testserver4.mycorp.example.” (trailing dot) is fully-qualified and is not an ambiguous identity.
If it makes you more comfortable pretend it's an amazing "compression scheme" where they omit that extra byte with a dot in it to save space.
See also IEEE 754 floating point where that first 1 in your binary floating point number is omitted entirely because it's implied and so writing it into the 32-bit value anyway would waste an entire order of magnitude.
Whether a domain is fully qualified depends on the application. There's no universal syntax. The trailing dot is merely an interface convention followed by some applications to allow the user to indicate that the domain name is complete. It's only useful for applications that don't always deal with fully qualified domains, and perhaps ones that deal with top level domains.
RFC1123 6.1.4.3 Interface Abbreviation Facilities:
User interfaces MAY provide a method for users to enter
abbreviations for commonly-used names. [..]
If an abbreviation method is provided, then:
(a) There MUST be some convention for denoting that a name
is already complete, so that the abbreviation method(s)
are suppressed. A trailing dot is the usual method.
If you add trailing dots where the dns root would be implied anyway, this could be regarded as an "over-qualified" name. It is considered an error. For example in SMTP. RFC1123 5.2.18 Common Address Formatting Errors: o Some systems over-qualify domain names by adding a
trailing dot to some or all domain names in addresses or
message-ids. This violates RFC-822 syntax.
RFC822 says "The root node is common to all addresses; consequently, it is not referenced."Since SNI always uses fully qualified domain names, there is no purpose to having a trailing dot.
And naturally in your citation you could use `https://serverfault.com./a/18122` which works perfectly fine
I see that when scanned, I get the same "https://fooco.at" string back, as opposed to "foo.co.at"
I get the same for fooco.nz , foonet.nz, foodmil.nz and foogov.nz . But not the more obscure foogen.nz and fooiwi.nz.
.nz only did 3lds for a long time. 2LDs are only about 5 years old.
stability like nothing else I've used,
ease of installation literally couldn't be better.
One super-annoying thing I hit often: the Contacts app on a Samsung phone suggests autocompletes of phone numbers in the edit/add contact flow. Do I now need to explain to stupid computer that I am entering a new number that it does not yet know, ffs?
I mean, seriously, something deep in the OS just sees "oh a phone number goes here? Let me supply one from Contacts...". It's trying to be smart, but in a completely oblivious and counter productive way. It's been like that for years. Does no one use these apps?
I took a look and soon deduced it was searching on "sounds like" rather than the actual string, so an exact match is way down the list of partial matches that sound like the search string.
It is madness, like Google refusing to do exact matches only worse.
You don't get the stock File Manager, you get the Samsung File Manager. The window manager is the Samsung Window Manager, or Launcher, or whatever. Hers even had a rebranded browser called "Internet", if I recall correctly.
All those Samsung-specific apps are (or at least were) objectively worse than the stock Android alternatives.
That their engineers and managers still to this day prefer to write their own apps instead is using stock or close to stock tells me they haven't learned from that mistake.
What do you suggest they do when trying to sell in markets where Google apps are not available?
I will agree that in the era you last saw it, it was awful.
At least as far as browsers go, I think it's best to stick to the big 3 platforms which are Safari, Firefox, and Chrome.
Who knows what security vulnerabilities have been introduced by Samsung on top of whatever engine they use?
I would never trust the Samsung browser.
They do have some very nice tweaks to Android. You can put apps in floating windows if you want or by hands, quarters whatever. You can even change the opacity of windows which is nice for using a photo as reference image while drawing for example. Dex has been handy a few times too.
I have exclusively used it for years, can't say that I've heard of any vulnerabilities that affect only Internet.
PS: funny that people are bashing Samsung on a thread with a silly Google bug. This is exactly the sort of thing that never breaks on Samsung devices. QR codes have been a solved problem for years. If Google cannot avoid breakage here, wonder what critical infra they keep breaking without us knowing.
Firefox is my desktop browser and it was also my mobile browser until Mozilla dumbed it down to the point of being useless.
I use Firefox on mobile every day. Works great for me. All I really need is ublock origin.
It's fine but it's no longer interesting enough for me to use.
Not that this excuses the low quality of their software. It's in all likelihood filled with spyware too. At least the hardware is good and has good support for custom software.
With SFTP and SMB support built in, I would say Samsung's File Manager (called My Files now) is objectively superior.
What's the alternative? They're pretty much the last premium android manufacturer left. (I would've maybe switched to a Pixel if they hadn't removed the headphone jack)
> All those Samsung-specific apps are (or at least were) objectively worse than the stock Android alternatives.
That's a very strong claim. I'm not a big fan of the Samsung apps (and I'd prefer if they focused on the hardware and supplied stock android), but they often have new features ahead of mainline Android.
Everyone is always munging the data for "user convenience". Drives me nuts.
And I'm over 40 so it doesn't matter what I say.
I hate it when an app assumes I'm an idiot producing typos half the time, and fighting the autocorrect then wastes more time than it could ever save. Just implement undo and leave me alone.
And there is a little detail in this that I'm questioning my sanity sometimes. The "fact" is that maybe iOS changed the detection point of a tap at some old release, because I was able to type perfectly on iOS 4..6, but then with 7 suddenly started to make typos everywhere. On Gboard now I can't type few words without making a mistake in every one of them. As if it was made to show me that I'm unable to type and need it so bad.
There is an amount of vanity in a company having mad numbers of employees seemingly unecessarily but who is the person who decides that we can cut 5000 jobs and split the work up between the other people you already have? The CEO? Why bother? You have bucket loads of cash so the status quo is easier any maybe once in a blue moon, someone actually comes up with something really clever.
Should have started with that upfront, then I would have known to ignore your comment /s
Same company that has an assistant that suggest one should call the boss at 0400 instead of opening the audio book one was started yesterday or even opening HN as I use to do while I enjoy my first cup of coffee in the morning.
Same company that thinks a married man with small kids needs to se ads for shady dating sites and hardly any other ad for 10 years. These days it is somewhat more varied but with a heavy dose of pay-to-win war games with female protagonists who can barely fit their b00bs inside the uniform.
Same company that mangles my searches, doing these kind of "corrections" transparently with no working way to opt out.
Why why why try to insult my intelligence and my wife at the same time?
I'm not in a position to short anything meaningful for 5 years but the thought has struck me.
People with whom I've been in touch for YEARS, are labelled as spam all the time, disregarding how many times I clicked the "Not Spam" button.
All while VERY obvious nigerian-prince tier emails arrive straight to my inbox everyday.
How could you possibly mess up something that you already had figured out?
Setting (gear) > "See all settings" (top button) > "Filters and Blocked Addresses"
Click "Create a new filter" (centered in the middle of the form) - fill out the "from" etc. then click "Create filter".
[X] Never send it to Spam
Or one of those tracking links from the Google search results.
- never - gonna - give - you - up
Rickrolled by QR!
Disclaimer: I just made that up
Or how do you start manipulating urls and not just realize this is inevitable / words have these strings inside them…?
I wonder if the reporter's QR code creation app was doing the correction and not Google Lens?
Edit: oh I see it's only if you do it through the camera app
Google's software has long since started to be hit and miss for me. It has almost become as bad as Microsoft in that regard.
I have lost count of how often I am suggested to change my email's TLD from its proper Icelandic ending .is to .it or .io. To be fair, this is not Google related but universal.
If you dear reader do not do anything else today then to read up on the many falsehoods[0] we as humans can fall into (that then infects our software solutions) it would be a day well spent.
fennec (f-droid firefox) has a QR code button if you tap the URL bar
I don't think they understand what "random" means.
That said, I find that my Samsung S8 has got progressively slower to start apps, particularly, and in that time, nothing else has noticeably changed. I understand obsolete hardware when a load of bells and whistles are added and the old hardware can't do it but I can't see anything noticeably different from 10 years ago.
On the other hand, I can also understand why people don't want to support 10 year old operating systems, which is why I had to bin my perfectly working Macbook Pro once it wasn't allowed to update the OS any more.
The dev replies with "hi, thanks for the bug report, please provide a memory dump and a screen recording." How about they just try it out? Do they not have phones?
Not sure what this has to do with Diablo Immortal /s
Difficult to use human touch when dealing with >>> thousands of bug reports.
Also, you ask if they don't "have phones" but to see this they need Android 12, if you bought a new high-end Android phone it might have Android 12. If you bought one last year, maybe it's qualified to upgrade to Android 12 but clearly this brings some bugs as illustrated. If your phone was not top of the line and you bought it say, before the pandemic, chances are you can't run Android 12 at least not today and perhaps ever.
Now, L1 support monkeys aren't flipping burgers or cleaning hotel rooms, I'm sure they do own phones, but there's no reason they own a good phone on whatever they're earning and if they do maybe it's an iPhone, which of course can't run Android 12.
Seriously. I sit on the other side of this a lot of the time, and bullshit like this makes everyone's troubleshooting harder. I'm happy to work with someone to troubleshoot a problem, but blindly ask me to waste my time, and I'll usually walk away. Someone else can dance for your pleasure.
I have gotten a lot shorter with this sort of thing, but that's because I've been burned being patient. Push all the effort and costs on to me and you won't have me as a customer.
(I am neither Google customer nor product.)
I can't tell one way or the other from that interface the roles of all involved. But I'm not sure it matters.
From the issue tracker:
It also affects the newer generic TLDs. Some examples:
.apple becomes .ap
.amex becomes .am
.army, .arte, .art, and .arab become .ar
.audi, .audio., .auto, .and autos become .au
.bet and .beer become .be
https://www.heise.de/hintergrund/Googles-Kamera-verfaelscht-...