Skip to content

Conversation

@mstrouhal
Copy link

Hello!

I have found a problem occurring when you are using queries with escaped dots.

If you use \. sequence in your DNS query, it is not parsed correctly as single label, but split into two labels, causing character \ to be in the end of previous label and escaped by another \, resulting in \\..

That is something else then you wanted to query in the first place.

These few lines of code are fixing the problem.

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.

1 participant