![]() |
Manual lines in DNS zone file - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: Manual lines in DNS zone file (/thread-3727.html) |
RE: Manual lines in DNS zone file - BeNe - 06-22-2009 11:11 PM Waiting for what ? Greez BeNe RE: Manual lines in DNS zone file - tango - 06-23-2009 02:26 AM which it is embedded ups http://www.isp-control.net/ispcp/changeset/1728 have not seen it RE: Manual lines in DNS zone file - Foggy - 06-23-2009 07:19 AM Quote:So we need this change in the trunk ?In my opinion, yes I would like to see this change in trunk. If you even obtain to my last post... RE: Manual lines in DNS zone file - Blondak - 06-26-2009 01:59 AM (06-22-2009 06:09 PM)Foggy Wrote: Ok, i came up to change line 497 from /var/www/ispcp/gui/client/edit_dns.php from maybee, we can do somethink like this line 30 from /var/www/ispcp/gui/themes/omega_origina/client/edit_dns.tpl from Code: <tr class="DNS DNS_A DNS_AAAA DNS_CNAME"> Code: <tr class="DNS DNS_A DNS_AAAA DNS_CNAME DNS_MX"> Code: $_dns = ''; Code: $_dns = empty($_POST['dns_name'])?$record_domain.'.':$_POST['dns_name']; regards Blondak RE: Manual lines in DNS zone file - Foggy - 06-26-2009 02:51 PM Of course, IMHO a good idea. Shouldn't you use mysql_real_escape_string? Does ispCp this anywhere? Otherwise I would recommend to use something like this: Code: $_dns = empty($_POST['dns_name']) ? $record_domain . '.' : mysql_real_escape_string($_POST['dns_name']); RE: Manual lines in DNS zone file - Blondak - 06-26-2009 07:28 PM (06-26-2009 02:51 PM)Foggy Wrote: Of course, IMHO a good idea. I hope that mysql_real_escape_string is not nessesary, because ispcp uses PDO for SQL queries and its escapes inputs automatically. EDIT: maybe better Code: $_dns = empty($_POST['dns_name']) ? $record_domain . '.' : encode_idna($_POST['dns_name']) EDIT2: and the best ![]() Code: --- edit_dns.php.backup 2008-08-12 08:06:12.000000000 +0200 Blondak RE: Manual lines in DNS zone file - Foggy - 06-28-2009 05:47 PM sounds good... Quote:because ispcp uses PDOOk, I am don't going into IspCP that deep ![]() RE: Manual lines in DNS zone file - BeNe - 06-30-2009 03:51 PM Can you Blondak provide a Patch with the changes ? So we can get i quicker in the current trunk. Thanks & Greez BeNe RE: Manual lines in DNS zone file - Blondak - 06-30-2009 10:54 PM (06-30-2009 03:51 PM)BeNe Wrote: Can you Blondak provide a Patch with the changes ? i have no time to test it, i hope it will work, can anyone test it? patch against current trunk RE: Manual lines in DNS zone file - Foggy - 07-02-2009 04:53 PM Quote:Can you Blondak provide a Patch with the changes ?I think he has done the job in post 136 ![]() @Blondak, i tested it and for me, it works well... |