Open GoogleCodeExporter opened 9 years ago
Another screenshot... :)
Original comment by kwhark@gmail.com
on 7 May 2010 at 7:32
Attachments:
I can confirm this same error
Template: undefined
Row 1: invalid name (only letters, digits and hyphen allowed).
Original comment by xeross.theelitist.net
on 12 Jun 2010 at 11:56
Confirmed, would like to see a fix.
Original comment by goo...@jorijn.com
on 16 Jun 2010 at 1:51
Problem is caused by the validation function. You can't seem to use the
%DOMAIN% tag
The filter should allow for % characters as well.
Original comment by xander.b...@gmail.com
on 21 Jun 2010 at 3:05
Fix (bit dirty):
change rexexp on line 270 to match:
/^([a-z]{1}[a-z0-9\.\-]+[a-z0-9]{1})?(%DOMAIN%)?$/
In theory this will also allow an empty record, although the GUI will not allow
you to.
or (even more ditry):
edit line 273 to return true instead of false:
return true;
Original comment by jorisc...@gmail.com
on 9 Aug 2010 at 10:51
More info: this has to be changed in file:
pdns-gui.0.3.3/apps/frontend/modules/template/actions/actions.class.php
Original comment by jorisc...@gmail.com
on 9 Aug 2010 at 10:52
I use
'/^([a-z]{1}[a-z0-9\.\-\*]+[a-z0-9]{1})|([a-z0-9\.\-\*]%DOMAIN%?)|%DOMAIN%$/'
here, this wouldn't allow empty Name. Also catchall "*" is allowed...
Original comment by marno2...@gmail.com
on 4 Mar 2011 at 9:45
Original issue reported on code.google.com by
kwhark@gmail.com
on 7 May 2010 at 7:30Attachments: