Skip to content

Conversation

@Dougley
Copy link

@Dougley Dougley commented Jun 15, 2021

Adds a bunch of new domains that are (actively) used to fake Steam trading URLs, this list was compiled by DMD.

Supersedes #101 (sorry bup)

Copy link
Owner

@jagrosh jagrosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list does not support subdomains, so any of the *.com.ru or similar domains need to be removed from this list.

@Dougley
Copy link
Author

Dougley commented Jun 16, 2021

They're technically second-level domains similarly to .co.uk for example. They're free to be registered like any other TLD, is there a technical reason why you're not supporting this?

@jagrosh
Copy link
Owner

jagrosh commented Jun 16, 2021

The technical reason is that they just wouldn't do anything with how the code currently works; it iterates through all urls in a message and compared the base url to this list, so it would be comparing com.ru to something.com.ru which wouldn't match.

I guess there's no harm in including them, but it would be confusing for someone reading the source wondering why these links aren't being picked up despite being in this list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants