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

Merge master into develop (Engine) #1273

Merged
merged 9 commits into from
Aug 8, 2023
Merged

Merge master into develop (Engine) #1273

merged 9 commits into from
Aug 8, 2023

Conversation

tgreenx and others added 9 commits August 2, 2023 17:26
Commit f1354e1 (#1249) introduced a bug (regression) when comparing domain names. It was using the function 'index()' to make such a comparison, on names that were no longer in their FQDN form. Thus, any domain name beginning with the characters of its TLD (e.g. 'norid.no') would wrongly be discarded. But even if that bug was reverted, it could still be problematic for multi-level zones, e.g. 'no.norid.no'.
So, instead of relying on a pure Perl function that does string comparison, in this commit we make use of the Zonemaster::Engine::DNSName class, specifically its functions 'common()' and 'is_in_bailiwick', to count and compare the labels composing domain names.
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Preparation for release v2023.1.3 (Engine)
Merge Releases/v2023.1.3 into Master (Engine)
@matsduf matsduf added this to the v2023.1.3 milestone Aug 8, 2023
@matsduf matsduf merged commit c5cdf80 into develop Aug 8, 2023
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