Project

General

Profile

Bug #8628

Updated by François ARMAND about 8 years ago

Hi, 

 Currently there is an "ip" type of contraint for the input fields in the metadata.xml, however, there is none for the IPv6 Address format. 

 Since IPv6 is getting used more and more, it would be highly recommended to have a validated type that accepts ipv6 formats. 

 EDIT: the implemented solution have three constraints:  

 <pre> 
  <CONSTRAINT><TYPE>ip</TYPE></CONSTRAINT>      <!-- accept both ipv4 and ipv6 --> 
  <CONSTRAINT><TYPE>ipv4</TYPE></CONSTRAINT>    <!-- accept ipv4 only --> 
  <CONSTRAINT><TYPE>ipv6</TYPE></CONSTRAINT>    <!-- accept ipv6 only --> 
 </pre>

Back