News for hackers. Stuff that matters.
Re:Facebook is now claiming official CDC.gov links are “Fals... by ALittleLight on Thursday July 29, 2021 @06:21PM (#28002192)
MySpamSite.com?queryParm=.gov
Re:Facebook is now claiming official CDC.gov links are “Fals... by colejohnson66 on Thursday July 29, 2021 @06:26PM (#28002230)
I'm sure the check (if implemented) wouldn't be a naive regex that would fail that easily
Re:Facebook is now claiming official CDC.gov links are “Fals... by ALittleLight on Thursday July 29, 2021 @08:49PM (#28003271)
The example regex would fail on that url. More generally I was trying to suggest with an example that filtering credible information with a regex is error prone.
Re:Facebook is now claiming official CDC.gov links are “Fals... by l33t2328 on Friday July 30, 2021 @12:05PM (#28009446)
Yes, and the example was naive. It’s trivial to make regex identify TLDs.
Re:Facebook is now claiming official CDC.gov links are “Fals... by ALittleLight on Friday July 30, 2021 @12:45PM (#28009828)
Yeah, but that doesn't work either. There are gov sites that have incorrect information, out of date information, partisan ideas and rhetoric, or there may exist, now or in the future, a .gov website where people could upload and share content.
Re:Facebook is now claiming official CDC.gov links are “Fals... by orheep on Thursday July 29, 2021 @06:25PM (#28002220)
On the domain only.
Re:Facebook is now claiming official CDC.gov links are “Fals... by afavour on Thursday July 29, 2021 @06:31PM (#28002270)
If you were going to check for this and didn’t immediately reach for location.host rather than location.href then it might be time to read some API docs.