this post was submitted on 12 Apr 2024
238 points (97.2% liked)

News

23320 readers
3332 users here now

Welcome to the News community!

Rules:

1. Be civil


Attack the argument, not the person. No racism/sexism/bigotry. Good faith argumentation only. This includes accusing another user of being a bot or paid actor. Trolling is uncivil and is grounds for removal and/or a community ban. Do not respond to rule-breaking content; report it and move on.


2. All posts should contain a source (url) that is as reliable and unbiased as possible and must only contain one link.


Obvious right or left wing sources will be removed at the mods discretion. We have an actively updated blocklist, which you can see here: https://lemmy.world/post/2246130 if you feel like any website is missing, contact the mods. Supporting links can be added in comments or posted seperately but not to the post body.


3. No bots, spam or self-promotion.


Only approved bots, which follow the guidelines for bots set by the instance, are allowed.


4. Post titles should be the same as the article used as source.


Posts which titles don’t match the source won’t be removed, but the autoMod will notify you, and if your title misrepresents the original article, the post will be deleted. If the site changed their headline, the bot might still contact you, just ignore it, we won’t delete your post.


5. Only recent news is allowed.


Posts must be news from the most recent 30 days.


6. All posts must be news articles.


No opinion pieces, Listicles, editorials or celebrity gossip is allowed. All posts will be judged on a case-by-case basis.


7. No duplicate posts.


If a source you used was already posted by someone else, the autoMod will leave a message. Please remove your post if the autoMod is correct. If the post that matches your post is very old, we refer you to rule 5.


8. Misinformation is prohibited.


Misinformation / propaganda is strictly prohibited. Any comment or post containing or linking to misinformation will be removed. If you feel that your post has been removed in error, credible sources must be provided.


9. No link shorteners.


The auto mod will contact you if a link shortener is detected, please delete your post if they are right.


10. Don't copy entire article in your post body


For copyright reasons, you are not allowed to copy an entire article into your post body. This is an instance wide rule, that is strictly enforced in this community.

founded 1 year ago
MODERATORS
 

Automatic text replacement let users spoof URLs ending in x, like netflix.com.

Elon Musk's clumsy brand shift from Twitter to X caused a potentially big problem this week when the social network started automatically changing "twitter.com" to "x.com" in links. The automatic text replacement reportedly applied to any URL ending in "twitter.com" even if it wasn't actually a twitter.com link.

The change apparently went live on X's app for iOS, but not on the web version. It seems to have been a problem for a day or two before the company fixed the automatic text replacement so that it wouldn't affect non-Twitter.com domains.

Security reporter Brian Krebs called the move "a gift to phishers" in an article yesterday. It was a phishing risk because scammers could register a domain name like "netflitwitter.com," which would appear as "netflix.com" in posts on X, but clicking the link would take a user to netflitwitter.com.

"A search at DomainTools.com shows at least 60 domain names have been registered over the past two days for domains ending in 'twitter.com,' although research so far shows the majority of these domains have been registered 'defensively' by private individuals to prevent the domains from being purchased by scammers," Krebs wrote.

all 44 comments
sorted by: hot top controversial new old
[–] zeppo@lemmy.world 89 points 7 months ago (6 children)

It's amazing that not only did they fuck up the regex, but only changed how the link was displayed and not where it linked to. And somehow their org is fucked up enough that someone not only wrote this incompetent code but it went into production.

[–] fsr1967@lemmy.world 129 points 7 months ago

It's amazing that not only did they fuck up the ~~regex~~ regetwitter, .

FTFY

[–] odin@lemmy.world 44 points 7 months ago (1 children)

Any talent Twitter once had jumped ship a long time ago

[–] FlyingSquid@lemmy.world 35 points 7 months ago (1 children)

I'm sure plenty of H1B visa talent is still there, terrified to do anything that Musk doesn't explicitly order them to do, thus resulting in the same sort of fuckups that would result if they weren't there. So I guess at least Twitter is stopping foreign people from having to go back to an impoverished life in Goa or wherever.

[–] zeppo@lemmy.world 21 points 7 months ago

Marginalized non-white people working for him while afraid of the consequences of quitting or disagreeing must take him back to his childhood.

[–] WindyRebel@lemmy.world 13 points 7 months ago* (last edited 7 months ago) (4 children)

Wait, they just did a text replacement and didn’t change the anchor links? I tried x dot com and it redirects to twitter, so even if they changed the links, too, it would just send them back to twitter.

(laughs in SEO) You fools!

If they really wanted X to happen they’d do a full site migration using 301, or 308, redirects of twitter to x.

Do they just not have the resources to do this or what the hell is stopping them from doing it the correct way if that’s what they want? Doesn’t Musk own the x domain?

[–] WhatAmLemmy@lemmy.world 14 points 7 months ago

It was evident a year ago that Musk fired or drove away all their skilled, competent engineers.

They can't do it the right way because a) they don't know how b) nobody understands most of their existing services, and c) Musk is guaranteed to step in and fuck everything up.

My understanding is, Musk fired all the developers who actually understood how Twitter works, and now they don't know how to manage that migration without breaking the site.

[–] zeppo@lemmy.world 3 points 7 months ago

Just optics, I guess? Probably some urgent drug-induced decree from Elron. They still have tons of references to Twitter in various parts of the site. The transition to the 'x' domain (which yes, Musk has owned since 1999) was rushed, hasty, and poorly done, not to mention incredibly stupid from a business perspective.

[–] funkless_eck@sh.itjust.works 3 points 7 months ago (1 children)

armchair developer here, but it wouldn't be that hard, right? Isn't it just a single line at the very root of the domain in .htaccess - or whatever equivalent if there's a different stack

[–] WindyRebel@lemmy.world 2 points 7 months ago* (last edited 7 months ago) (1 children)

I’ve never done the actual implementation myself, honestly. Redirects can be done via .htaccess (or equivalent), server side, or JavaScript.

Theoretically, yes, it’s that easy. However, pages should have 1:1 redirects for each page URL that matters. Then a strategy to prune the ones no longer needed/outdated by allowing them to 404, redirect to the most relevant subfolder, or just send to the main domain should be considered.

The list can be quite long. There’s more to it than all this as well, but that’s the general gist.

[–] funkless_eck@sh.itjust.works 3 points 7 months ago

yeah I assumed everything stayed the same except domain - and if best practices are maintained then everything should have relative urls anyway...

[–] dust_accelerator@discuss.tchncs.de 13 points 7 months ago* (last edited 7 months ago)
[–] FlyingSquid@lemmy.world 3 points 7 months ago

Is it amazing? I think it's virtually expected.

[–] machinin@lemmy.world 38 points 7 months ago (5 children)

And to think, the same guy greenlighting the processes and creating the culture that produced a problem like that, also heads another company that puts software in the hands of people called "full self driving" that controls a piece of equipment that is thousands of pounds and flying down our streets and highways at significant speeds.

What a time to be alive!

[–] goldteeth@lemmy.dbzer0.com 24 points 7 months ago

To say nothing of the whole, y'know, "grafting experimental hardware directly into peoples' brains" thing.

[–] RamblingPanda@lemmynsfw.com 14 points 7 months ago (1 children)

Don't forget the rockets filled with explosive fuel 💖

[–] frunch@lemmy.world 10 points 7 months ago

Remember when they destroyed the launch pad because he had a "better" approach to its design? https://www.space.com/spacex-starship-damage-starbase-launch-pad

[–] Chainweasel@lemmy.world 4 points 7 months ago (1 children)

The cars aren't what you should be worried about, he also has a company that makes brain chips meant to be implanted in humans.
Imagine that that kind of technology could do to people when it matures.

[–] machinin@lemmy.world 6 points 7 months ago (1 children)

when it matures.

Do you think Musk will wait for it to mature before doing whatever he wants with it?

[–] Chainweasel@lemmy.world 3 points 7 months ago

Absolutely not, but I do think most people won't adopt it until it's mature and it likely won't become a problem until lots of people have adopted it.

[–] crusa187@lemmy.ml 4 points 7 months ago

I recently found out that many high profile engineers from Tesla have left to create a new EV company called Lucid.

The cars are pricey, but they look really nice. Might be worth checking out if you’re in the market and have a boatload of money burning a hole in your pocket.

[–] purplemonkeymad@programming.dev 2 points 7 months ago

Honestly I think Tesla and spacex got where they did as he wasn't doing any programming. Last time I used paypal it felt janky af.

[–] Nougat@fedia.io 35 points 7 months ago (2 children)

You know how this conversation went:

I want everything that says twitter.com to say x.com instead!

"Well ... I mean we can do that, but it's going to break this, and this, and this, with these consequences."

JUST REPLACE THE STRING 'TWITTER.COM' WITH 'X.COM' AND DO IT NOW.

"Okay."

I only hope someone got it in writing.

[–] Evotech@lemmy.world 5 points 7 months ago (1 children)

I mean you could write some better matching patterns

[–] tiefling@lemmy.blahaj.zone 5 points 7 months ago

TBF Regex is too complicated for Muskchild to understand

[–] Buffaloaf@lemmy.world 3 points 7 months ago

I hope someone is recording everything he says during these meetings, it'd make a great podcast

[–] uberdroog@lemmy.world 5 points 7 months ago

Deletion on account from 2008 incoming. From someone who logs into MySpace once every couple years to keep my account alive.

[–] fiend_unpleasant@lemmy.world 5 points 7 months ago (1 children)

Who's ready to follow this clown to Mars?

[–] Kroxx@lemm.ee 3 points 7 months ago

Fuck that, who's ready for the brain chips!

[–] Hildegarde@lemmy.world 4 points 7 months ago

Sell the twitter.com domain name you coward.

[–] supangle@lemmy.wtf -1 points 7 months ago (1 children)

both pre-musk era and post-musk era twitter was shit. twitter sucked all the time. reddit is the best platform idea imo, but it sucks too. not open-source, sells data to google ai and blocks third party apps. fuck you reddit and thank you for showing me lemmy

[–] citrusface@lemmy.world 4 points 7 months ago (1 children)

I think Twitter was what you made it before. If you tuned your feed, it was enjoyable - it's a straight up shit show now.