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

Gandi format does not match IPv6 addresses #338

Open
ghislabo opened this issue Aug 12, 2022 · 3 comments
Open

Gandi format does not match IPv6 addresses #338

ghislabo opened this issue Aug 12, 2022 · 3 comments

Comments

@ghislabo
Copy link

On line 490 of import_logs.py regex for _GANDI_SIMPLE_HOSTING_FORMAT, the regex used to match IP addresses only works for IPv4 because it does not include the column sign.

I suggest replacing (?P<ip>[a-zA-Z0-9.]+) with (?P<ip>[\w*.:-]+) as in other regex.

@sgiehl
Copy link
Member

sgiehl commented Aug 12, 2022

Hi @ghislabo. Feel free to create PR to change this.

@ghislabo
Copy link
Author

Sorry, not currently able to do this, which is why I proposed the change here.

@sgiehl
Copy link
Member

sgiehl commented Aug 12, 2022

Ok. no problem. But can't promise when someone will have time to work on this...

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

No branches or pull requests

2 participants