Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000075 [MyDNS-NG] Global feature N/A 2014-08-07 20:39 2014-08-07 20:40
Reporter jameno123 View Status public  
Assigned To jameno123
Priority normal Resolution open  
Status assigned   Product Version 1.2.8.31
Summary 0000075: Remove mydns_rr_get_active_types auto-detection code
Description The function mydns_rr_get_active_types attempts to detect the acceptable values in use for active,inactive,deleted in the sql database and overrides those values as hard-coded. This function makes the code act in ways it should not by 'guessing' which is not proper for a DNS server. The values should be limited to 'Y','N','D' not auto-guessed based on a unknown set of pre-conditions -- ie: what happens if you use 'Y' and 'true' -- only the bottom most distinct record "value" will be searched causing potentially unexplained results. As the code suggests that you can call me 'active,true,yes,on,a,y,yes or 1' but in-fact only actually searches the database for one of these.

Nifty trick to overcome misconfigurations but the code should not perform tricks for such things.
Additional Information Sent email to mailinglist requesting feedback of the responses received so far they suggest the ENUM('Y','N','D') is the proper way forward.
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-08-07 20:39 jameno123 New Issue
2014-08-07 20:40 jameno123 Target Version => 1.2.9
2014-08-07 20:40 jameno123 Status new => assigned
2014-08-07 20:40 jameno123 Assigned To => jameno123


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker