|Anonymous | Login | Signup for a new account||2018-11-22 10:58 WET|
|Main | My View | View Issues | Change Log | Roadmap | Docs | My Account|
|Viewing Issue Simple Details|
|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|
|Summary||0000075: Remove mydns_rr_get_active_types auto-detection code|
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.|
|There are no notes attached to this issue.|
|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|