Commit a5a90b2
committed
fix: skip endswith guard for regex zones in check_rrset_allowed
When zone.regex is True, zone.name is a pattern like '.*' rather than a
real DNS name. The endswith guard was always False for these zones,
causing regex_records to never be evaluated and all writes to be denied.
Fixes #1961 parent 1d9d664 commit a5a90b2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments