Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is '||' a typo? #2771

Closed
alexishuxley opened this issue Nov 12, 2024 · 4 comments
Closed

is '||' a typo? #2771

alexishuxley opened this issue Nov 12, 2024 · 4 comments
Labels
upstream The issue is upstream

Comments

@alexishuxley
Copy link

In https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts, there are two occurences of '|| in a domainname:

0.0.0.0 www.||immediate-bitwave.com
...
0.0.0.0 ||immediate-bitwave.com

Is this a copy-and-paste error or really part of the domain name?

(I'm asking because by downstream scripts are choking on this and I don't know whether to await an upstream fix or update my scripts.)

Copy link

welcome bot commented Nov 12, 2024

Hello! Thank you for opening your first issue in this repo. It’s people like you who make these host files better!

@ler762
Copy link

ler762 commented Nov 12, 2024 via email

@StevenBlack
Copy link
Owner

Thank you for this @alexishuxley, good catch! And thank you Lee @ler762 for the assist.

I've already contacted the fine folks upstream about this. This should be resolved shortly if this is a mistake.

@StevenBlack StevenBlack added the upstream The issue is upstream label Nov 13, 2024
moviuro added a commit to moviuro/moviuro.bin that referenced this issue Nov 14, 2024
See also: StevenBlack/hosts#2771

> 0.0.0.0 www.||immediate-bitwave.com

That line was present in a file we download by default, causing issues
on OpenBSD (awk: illegal primary in regular expression), and on Linux
the `||` were landing in the unbound conf!
@StevenBlack
Copy link
Owner

Tank you again Alexis @alexishuxley, this is fixed in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream The issue is upstream
Projects
None yet
Development

No branches or pull requests

3 participants